Fix typo in alloc vec comment

This commit is contained in:
Ivan Tham 2020-09-29 22:33:57 +08:00 committed by GitHub
parent 9e34b72964
commit b141e49d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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