Skip to content

Commit f969990

Browse files
committed
Update hash_sorted_map.rs
1 parent ca37af7 commit f969990

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/hash-sorted-map/src/hash_sorted_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ mod tests {
925925
let mut prev_key = 0u32;
926926
let mut first = true;
927927
for (&k, _) in &map {
928-
let h = hasher.hash_one(&k);
928+
let h = hasher.hash_one(k);
929929
if !first {
930930
assert!(
931931
(h, k) >= (prev_hash, prev_key),

0 commit comments

Comments
 (0)