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

Method ensure_capacity

cranelift/bitset/src/compound.rs:264–266  ·  view source on GitHub ↗
(&mut self, n: usize)

Source from the content-addressed store, hash-verified

262 /// ```
263 #[inline]
264 pub fn ensure_capacity(&mut self, n: usize) {
265 self.try_ensure_capacity(n).unwrap()
266 }
267
268 /// Like [`CompoundBitSet::ensure_capacity`] but returns an error on
269 /// allocation failure.

Callers 1

insertMethod · 0.45

Calls 2

unwrapMethod · 0.45
try_ensure_capacityMethod · 0.45

Tested by

no test coverage detected