From d2ed4ebed94df35da5fc92c1a9fc2f5aa055e7e9 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Tue, 3 Mar 2020 23:22:53 +0900 Subject: [PATCH] Rustup to latest rustc --- src/vec-final.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vec-final.md b/src/vec-final.md index c24ac03..a858547 100644 --- a/src/vec-final.md +++ b/src/vec-final.md @@ -52,7 +52,7 @@ impl RawVec { mem::align_of::(), )) } - let ptr = ptr.unwrap(); + let (ptr, _) = ptr.unwrap(); self.ptr = Unique::new_unchecked(ptr.as_ptr() as *mut _); self.cap = new_cap;