Merge pull request #32 from SimonSapin/nonzero-checked

Update for https://github.com/rust-lang/rust/pull/42959
drop
Alexis Beingessner 7 years ago committed by GitHub
commit 680e284b0a

@ -49,7 +49,7 @@ impl<T> RawVec<T> {
Err(err) => Heap.oom(err), Err(err) => Heap.oom(err),
}; };
self.ptr = Unique::new(ptr as *mut _); self.ptr = Unique::new_unchecked(ptr as *mut _);
self.cap = new_cap; self.cap = new_cap;
} }
} }

Loading…
Cancel
Save