mirror of
https://github.com/servo/servo.git
synced 2025-07-10 17:03:40 +01:00
Revert "Verify in DiagnosticHashMap::drop."
This reverts commit c9b5ffb586
.
This commit is contained in:
parent
f9eff7f546
commit
f98f83ceb3
1 changed files with 0 additions and 2 deletions
|
@ -209,9 +209,7 @@ impl<K: Hash + Eq, V, S: BuildHasher> Drop for DiagnosticHashMap<K, V, S>
|
||||||
S: BuildHasher
|
S: BuildHasher
|
||||||
{
|
{
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
self.map.verify();
|
|
||||||
debug_assert!(self.readonly, "Dropped while mutating");
|
debug_assert!(self.readonly, "Dropped while mutating");
|
||||||
self.verify();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue