Fix spelling errors in hash_map

This commit is contained in:
Gwilym Kuiper 2022-11-17 21:15:48 +00:00
parent 7621f47644
commit 45431615dc

View file

@ -942,7 +942,7 @@ impl<K, V> Node<K, V> {
let old_value = mem::replace(&mut self.value, MaybeUninit::new(value));
unsafe { old_value.assume_init() }
} else {
panic!("Cannot replace an unininitalised node");
panic!("Cannot replace an uninitialised node");
}
}