Skip to content

Commit

Permalink
chore: fix clippy ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer committed May 7, 2024
1 parent 8534af3 commit 1cac90b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/mitex-lexer/src/snapshot_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ where
}
}

pub fn get<Q: ?Sized>(&self, k: &Q) -> Option<&V>
pub fn get<Q>(&self, k: &Q) -> Option<&V>
where
K: Borrow<Q>,
Q: Hash + Eq,
Q: Hash + Eq + ?Sized,
{
self.map.borrow().get(k)
}
Expand Down

0 comments on commit 1cac90b

Please sign in to comment.