Skip to content

Commit

Permalink
try de-clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenesvk committed Dec 4, 2024
1 parent 7e8f499 commit 67b0277
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<H: Hasher>(&self, state: &mut H) {
self.0.original_path().hash(state);
}
Expand Down

0 comments on commit 67b0277

Please sign in to comment.