Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Mar 15, 2024
1 parent 0075261 commit 62118b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync/map_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl<K, V> SyncHashMap<K, V>
m.contains_key(x)
}

pub fn iter(&self) -> std::collections::hash_map::Iter<'_, K, V> {
pub fn iter(&self) -> MapIter<'_, K, V> {
unsafe { (&*self.dirty.get()).iter() }
}

Expand Down

0 comments on commit 62118b0

Please sign in to comment.