mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Janitor: Fix clippy::extra_unused_lifetimes
This commit is contained in:
parent
094f4bb082
commit
ce30f9b989
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ use crate::object_tree::*;
|
||||||
use crate::typeregister::TypeRegister;
|
use crate::typeregister::TypeRegister;
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
||||||
pub fn lower_layouts<'a>(
|
pub fn lower_layouts(
|
||||||
component: &Rc<Component>,
|
component: &Rc<Component>,
|
||||||
type_register: &TypeRegister,
|
type_register: &TypeRegister,
|
||||||
diag: &mut BuildDiagnostics,
|
diag: &mut BuildDiagnostics,
|
||||||
|
|
|
@ -191,7 +191,7 @@ fn is_declaration(x: &NamedReference) -> bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Out of two named reference, return the one which is the best to keep.
|
/// Out of two named reference, return the one which is the best to keep.
|
||||||
fn best_property<'a>(
|
fn best_property(
|
||||||
component: &Rc<Component>,
|
component: &Rc<Component>,
|
||||||
p1: NamedReference,
|
p1: NamedReference,
|
||||||
p2: NamedReference,
|
p2: NamedReference,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue