MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / clear

Method clear

src/entity/sparse.rs:102–104  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

100 /// Remove all elements from the map.
101 #[inline]
102 pub fn clear(&mut self) {
103 self.dense.clear();
104 }
105
106 /// Returns a reference to the value corresponding to the key.
107 #[inline]

Callers 2

clear_and_resize_withMethod · 0.45
clear_and_resizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected