We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7da219 commit 0dc0c7bCopy full SHA for 0dc0c7b
src/map.rs
@@ -1665,7 +1665,7 @@ mod tests {
1665
let ptr = *e.key() as *const i32;
1666
assert_eq!(ptr, k1_ptr);
1667
assert_ne!(ptr, k2_ptr);
1668
- },
+ }
1669
Entry::Vacant(_) => panic!(),
1670
}
1671
test-nostd/src/lib.rs
@@ -11,7 +11,9 @@ use indexmap::IndexSet;
11
struct BadHasher(u64);
12
13
impl Hasher for BadHasher {
14
- fn finish(&self) -> u64 { self.0 }
+ fn finish(&self) -> u64 {
15
+ self.0
16
17
fn write(&mut self, bytes: &[u8]) {
18
for &byte in bytes {
19
self.0 += byte as u64
0 commit comments