From b141e49d8702fa170953aed388eb1510622db79b Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Tue, 29 Sep 2020 22:33:57 +0800 Subject: [PATCH] Fix typo in alloc vec comment --- library/alloc/src/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index fec4c1e0e50..53667c188f8 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -2281,7 +2281,7 @@ where // use try-fold since // - it vectorizes better for some iterator adapters - // - unlike most internal iteration methods methods it only takes a &mut self + // - unlike most internal iteration methods, it only takes a &mut self // - it lets us thread the write pointer through its innards and get it back in the end let sink = InPlaceDrop { inner: dst_buf, dst: dst_buf }; let sink = iterator