mirror of
https://github.com/servo/servo.git
synced 2025-07-03 05:23:38 +01:00
Revert #18668 - Add mprotect diagnostics for HashMap crash
This commit is contained in:
parent
e07c6f38a5
commit
15b866d8de
17 changed files with 9 additions and 448 deletions
|
@ -1027,12 +1027,6 @@ impl<K, V, S> HashMap<K, V, S>
|
|||
self.table.size()
|
||||
}
|
||||
|
||||
/// Access to the raw buffer backing this hashmap.
|
||||
pub fn raw_buffer(&self) -> (*const (), usize) {
|
||||
assert!(self.raw_capacity() != 0);
|
||||
self.table.raw_buffer()
|
||||
}
|
||||
|
||||
/// Returns true if the map contains no elements.
|
||||
///
|
||||
/// # Examples
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue