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

Method increment_len

src/fast.rs:142–145  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

140 /// Element at [`Self::end_ptr()`] must have been initialized.
141 #[inline(always)]
142 pub unsafe fn increment_len(&mut self) {
143 self.end = self.end.add(1);
144 debug_assert!(self.end <= self.capacity);
145 }
146}
147
148pub trait PushUnchecked<T> {

Callers 1

encodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected