diff options
| author | Ivan Tham <pickfire@riseup.net> | 2020-09-29 22:33:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-29 22:33:57 +0800 |
| commit | b141e49d8702fa170953aed388eb1510622db79b (patch) | |
| tree | b04341db0c610b7c537913c6887a6362e0f8208a | |
| parent | 9e34b729647f44bfbbc361949b14b5bea65e4996 (diff) | |
| download | rust-b141e49d8702fa170953aed388eb1510622db79b.tar.gz rust-b141e49d8702fa170953aed388eb1510622db79b.zip | |
Fix typo in alloc vec comment
| -rw-r--r-- | library/alloc/src/vec.rs | 2 |
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 |
