Skip to content

Commit 2585475

Browse files
Merge pull request #235 from JohnTitor/fix-more
Follow-up of rust-lang/rust#75152
2 parents 685ca70 + 81797cf commit 2585475

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
@@ -58,7 +58,7 @@ impl<T> RawVec<T> {
5858
mem::align_of::<T>(),
5959
))
6060
}
61-
let ptr = ptr.unwrap().ptr;
61+
let ptr = ptr.unwrap();
6262

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

0 commit comments

Comments
 (0)