Revert "Stuff HashMap journal into a string and verify invariants in a few more places."

This reverts commit 4b64390b81.
This commit is contained in:
Manish Goregaokar 2017-10-23 13:45:48 -07:00
parent f98f83ceb3
commit fde96d0ff5
3 changed files with 27 additions and 65 deletions

View file

@ -694,12 +694,6 @@ impl<K, V, S> HashMap<K, V, S>
self.table.raw_buffer()
}
/// Verify that the table metadata is internally consistent.
#[inline]
pub fn verify(&self) {
self.table.verify();
}
/// Reserves capacity for at least `additional` more elements to be inserted
/// in the `HashMap`. The collection may reserve more space to avoid
/// frequent reallocations.