Revert "Verify in DiagnosticHashMap::drop."

This reverts commit c9b5ffb586.
This commit is contained in:
Manish Goregaokar 2017-10-23 13:45:38 -07:00
parent f9eff7f546
commit f98f83ceb3

View file

@ -209,9 +209,7 @@ impl<K: Hash + Eq, V, S: BuildHasher> Drop for DiagnosticHashMap<K, V, S>
S: BuildHasher
{
fn drop(&mut self) {
self.map.verify();
debug_assert!(self.readonly, "Dropped while mutating");
self.verify();
}
}