MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / reserve

Method reserve

src/derive/option.rs:81–84  ·  view source on GitHub ↗
(&mut self, additional: NonZeroUsize)

Source from the content-addressed store, hash-verified

79 }
80
81 fn reserve(&mut self, additional: NonZeroUsize) {
82 self.variants.reserve(additional);
83 // We don't know how many are Some, so we can't reserve more.
84 }
85}
86
87pub struct OptionDecoder<'a, T: Decode<'a>> {

Callers 2

encodeMethod · 0.45
encode_vectoredMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected