From 67b0277695ba3711e7c050c52dc541f02b83202c Mon Sep 17 00:00:00 2001 From: eugenesvk Date: Wed, 4 Dec 2024 19:30:16 +0700 Subject: [PATCH] try de-clippy --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 0fd60b0..a8d8f98 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -522,13 +522,13 @@ pub mod os_limited { { // Check for twins here cause that's pretty platform independent. struct ItemWrapper<'a>(&'a TrashItem); - impl<'a> PartialEq for ItemWrapper<'a> { + impl PartialEq for ItemWrapper<'_> { fn eq(&self, other: &Self) -> bool { self.0.original_path() == other.0.original_path() } } - impl<'a> Eq for ItemWrapper<'a> {} - impl<'a> Hash for ItemWrapper<'a> { + impl Eq for ItemWrapper<'_> {} + impl Hash for ItemWrapper<'_> { fn hash(&self, state: &mut H) { self.0.original_path().hash(state); }