about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-09-30 20:56:19 +0200
committerGitHub <noreply@github.com>2020-09-30 20:56:19 +0200
commit054ba3db2d0fa0c3e4e7f441b8f6d2befc4cc60c (patch)
tree156f021216589a12eb5b62782e201bcb9fe13327 /library/alloc/src
parent4e5178301b4cb8f099a0b71948f82294335adf8c (diff)
parentb141e49d8702fa170953aed388eb1510622db79b (diff)
downloadrust-054ba3db2d0fa0c3e4e7f441b8f6d2befc4cc60c.tar.gz
rust-054ba3db2d0fa0c3e4e7f441b8f6d2befc4cc60c.zip
Rollup merge of #77338 - pickfire:patch-7, r=jyn514
Fix typo in alloc vec comment

cc @the8472
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/vec.rs2
1 files changed, 1 insertions, 1 deletions
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