diff --git a/src/vec-final.md b/src/vec-final.md index 629295e..8c86641 100644 --- a/src/vec-final.md +++ b/src/vec-final.md @@ -58,7 +58,7 @@ impl RawVec { mem::align_of::(), )) } - let ptr = ptr.unwrap().ptr; + let ptr = ptr.unwrap(); self.ptr = Unique::new_unchecked(ptr.as_ptr() as *mut _); self.cap = new_cap;