copyless 0.1.1
“Ways to eliminate memcpy calls when using the standard library.”
Rust builds heap Layout from computed size
SHA-25651d65f470edfbdacda6b739adbd04a5ab9a9fcac3e32109e875a3cfecaed567d
MaleculeH(Mg)
Evidence
⋯6 lines
21 fn drop(&mut self) {
22 if !self.0.is_null() {
23 let layout = alloc::Layout::from_size_align(mem::size_of::<T>(), ALIGNMENT).unwrap();
24 unsafe {
25 alloc::dealloc(self.0 as *mut u8, layout);
26 …
No evidence locations were recorded for this file. Raw result