Skip to content

Commit 9f797e6

Browse files
authored
Merge pull request #203 from JohnTitor/ptr
Rustup to latest rustc
2 parents 71241f4 + d2ed4eb commit 9f797e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vec-final.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl<T> RawVec<T> {
5252
mem::align_of::<T>(),
5353
))
5454
}
55-
let ptr = ptr.unwrap();
55+
let (ptr, _) = ptr.unwrap();
5656

5757
self.ptr = Unique::new_unchecked(ptr.as_ptr() as *mut _);
5858
self.cap = new_cap;

0 commit comments

Comments
 (0)