Skip to content

Commit

Permalink
Fix typo in alloc vec comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire authored Sep 29, 2020
1 parent 9e34b72 commit b141e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b141e49

Please sign in to comment.