Skip to content

Commit b141e49

Browse files
authored
Fix typo in alloc vec comment
1 parent 9e34b72 commit b141e49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2281,7 +2281,7 @@ where
22812281

22822282
// use try-fold since
22832283
// - it vectorizes better for some iterator adapters
2284-
// - unlike most internal iteration methods methods it only takes a &mut self
2284+
// - unlike most internal iteration methods, it only takes a &mut self
22852285
// - it lets us thread the write pointer through its innards and get it back in the end
22862286
let sink = InPlaceDrop { inner: dst_buf, dst: dst_buf };
22872287
let sink = iterator

0 commit comments

Comments
 (0)