Merge pull request #203 from JohnTitor/ptr

Rustup to latest rustc
pull/204/head
Mazdak Farrokhzad 5 years ago committed by GitHub
commit 9f797e65e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save