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

Method drop

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

Source from the content-addressed store, hash-verified

20
21impl<T> Drop for FastVec<T> {
22 fn drop(&mut self) {
23 unsafe {
24 drop(Vec::from(std::ptr::read(self)));
25 }
26 }
27}
28
29// Safety: Same bounds as [`Vec`] impls.

Callers

nothing calls this directly

Calls 1

as_sliceMethod · 0.80

Tested by

no test coverage detected