Janitor: Fix clippy::extra_unused_lifetimes

This commit is contained in:
Tobias Hunger 2021-08-05 17:53:15 +02:00 committed by Simon Hausmann
parent 094f4bb082
commit ce30f9b989
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ use crate::object_tree::*;
use crate::typeregister::TypeRegister;
use std::rc::Rc;
pub fn lower_layouts<'a>(
pub fn lower_layouts(
component: &Rc<Component>,
type_register: &TypeRegister,
diag: &mut BuildDiagnostics,

View file

@ -191,7 +191,7 @@ fn is_declaration(x: &NamedReference) -> bool {
}
/// Out of two named reference, return the one which is the best to keep.
fn best_property<'a>(
fn best_property(
component: &Rc<Component>,
p1: NamedReference,
p2: NamedReference,