MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / pop

Method pop

cranelift/bitset/src/compound.rs:443–447  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

441 /// ```
442 #[inline]
443 pub fn pop(&mut self) -> Option<usize> {
444 let max = self.max()?;
445 self.remove(max);
446 Some(max)
447 }
448
449 /// Remove all elements from this bitset.
450 ///

Callers 1

verify_treeMethod · 0.45

Calls 2

maxMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected