Skip to content

Commit

Permalink
Rustup to latest rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Mar 3, 2020
1 parent 71241f4 commit d2ed4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vec-final.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d2ed4eb

Please sign in to comment.