Skip to content

Commit

Permalink
Merge pull request #235 from JohnTitor/fix-more
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum authored Aug 19, 2020
2 parents 685ca70 + 81797cf commit 2585475
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 @@ -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;
Expand Down

0 comments on commit 2585475

Please sign in to comment.