Skip to content

Commit

Permalink
Rollup merge of #77338 - pickfire:patch-7, r=jyn514
Browse files Browse the repository at this point in the history
Fix typo in alloc vec comment

cc @the8472
  • Loading branch information
jonas-schievink authored Sep 30, 2020
2 parents 4e51783 + b141e49 commit 054ba3d
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 054ba3d

Please sign in to comment.