MCPcopy Index your code
hub / github.com/RustPython/RustPython / reserve_exact

Method reserve_exact

crates/wtf8/src/lib.rs:419–421  ·  view source on GitHub ↗
(&mut self, additional: usize)

Source from the content-addressed store, hash-verified

417
418 #[inline]
419 pub fn reserve_exact(&mut self, additional: usize) {
420 self.bytes.reserve_exact(additional)
421 }
422
423 /// Tries to reserve the minimum capacity for exactly `additional` more
424 /// bytes to be inserted in the given `Wtf8Buf`. After calling

Callers 3

_decompress_chunksFunction · 0.80
prepend_argMethod · 0.80
finalize_codeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected