mirror of
https://github.com/servo/servo.git
synced 2025-10-09 13:09:25 +01:00
Revert "Include map length in diagnostics"
This reverts commit a10329f8ff
.
This commit is contained in:
parent
f1603b9e71
commit
bf69d1b460
3 changed files with 2 additions and 11 deletions
|
@ -896,10 +896,6 @@ impl<K, V> RawTable<K, V> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn diagnostic_count_hashes(&self) -> usize {
|
||||
(0..self.capacity()).filter(|&i| unsafe { *self.raw_bucket_at(i).hash() != EMPTY_BUCKET }).count()
|
||||
}
|
||||
|
||||
pub fn iter(&self) -> Iter<K, V> {
|
||||
Iter {
|
||||
iter: self.raw_buckets(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue