pull/235/head
Yuki Okushi 4 years ago
parent 685ca706a8
commit 81797cf059
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1

@ -58,7 +58,7 @@ impl<T> RawVec<T> {
mem::align_of::<T>(),
))
}
let ptr = ptr.unwrap().ptr;
let ptr = ptr.unwrap();
self.ptr = Unique::new_unchecked(ptr.as_ptr() as *mut _);
self.cap = new_cap;

Loading…
Cancel
Save