Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jan 14, 2025
1 parent 1bd3f8d commit cac5701
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ impl InnerStorage {
f: impl FnOnce() -> CachedDataItemValue,
) -> CachedDataItemValueRefMut<'_> {
self.get_or_create_map_mut(key.ty())
.get_mut_or_insert_with(&key, f)
.get_mut_or_insert_with(key, f)
}

pub fn has_key(&self, key: &CachedDataItemKey) -> bool {
Expand Down

0 comments on commit cac5701

Please sign in to comment.