refactor: improve lifetime names

This commit is contained in:
EdJoPaTo
2024-05-13 00:33:34 +02:00
parent 04ecf5388f
commit 9dcccba31d
4 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -169,7 +169,7 @@ fn tree_new_errors_with_duplicate_identifiers() {
Tree::new(vec![item, another]).unwrap();
}
impl<'a, Identifier> StatefulWidget for Tree<'a, Identifier>
impl<Identifier> StatefulWidget for Tree<'_, Identifier>
where
Identifier: Clone + PartialEq + Eq + core::hash::Hash,
{
@@ -332,7 +332,7 @@ where
}
}
impl<'a, Identifier> Widget for Tree<'a, Identifier>
impl<Identifier> Widget for Tree<'_, Identifier>
where
Identifier: Clone + Default + Eq + core::hash::Hash,
{