From 45646a80352e0b6b918365585ad8e35def93eabc Mon Sep 17 00:00:00 2001 From: Arthur Milchior Date: Fri, 6 May 2022 06:56:00 +0200 Subject: [PATCH] Change will to would to discuss what don't occur As the event won't occur, a conditional seems more appropriate --- src/vec/vec-into-iter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vec/vec-into-iter.md b/src/vec/vec-into-iter.md index dc15c3e6..61782e3b 100644 --- a/src/vec/vec-into-iter.md +++ b/src/vec/vec-into-iter.md @@ -66,7 +66,7 @@ impl IntoIterator for Vec { let cap = self.cap; let len = self.len; - // Make sure not to drop Vec since that will free the buffer + // Make sure not to drop Vec since that would free the buffer mem::forget(self); unsafe {