summary refs log tree commit diff
path: root/library/alloc/src/vec/splice.rs
AgeCommit message (Collapse)AuthorLines
2023-05-07enable `rust_2018_idioms` for doctestsozkanonur-1/+1
Signed-off-by: ozkanonur <work@onurozkan.dev>
2023-01-17Don't do pointer arithmetic on pointers to deallocated memoryThe 8472-0/+6
vec::Splice can invalidate the slice::Iter inside vec::Drain. So we replace them with dangling pointers which, unlike ones to deallocated memory, are allowed.
2021-06-02Update expressions where we can use array's IntoIterator implementationMuhammad Mominul Huque-1/+1
2020-12-29style: applying Rust styleC-2/+2
2020-12-29refactor: moving Splice into splice.rsC-0/+133