summary refs log tree commit diff
path: root/library/alloc/src/vec/into_iter.rs
AgeCommit message (Collapse)AuthorLines
2021-04-26fix double-drop in in-place collect specializationThe8472-9/+18
(cherry picked from commit 421f5d282a51e130d3ca7c4524d8ad6753437da9)
2021-02-15Turn may_have_side_effect into an associated constantTomasz Miąsko-3/+1
The `may_have_side_effect` is an implementation detail of `TrustedRandomAccess` trait. It describes if obtaining an iterator element may have side effects. It is currently implemented as an associated function. Turn `may_have_side_effect` into an associated constant. This makes the value immediately available to the optimizer.
2020-12-30Fix rustdoc link in vec/into_iter.rs.Mara Bos-2/+2
2020-12-29docs: fixing referencesC-1/+1
2020-12-29style: applying Rust styleC-9/+7
2020-12-29refactor: moving AsIntoIter into into_iter.rsC-0/+15
2020-12-29refactor: moved IntoIter into into_iter.rsC-0/+270