about summary refs log tree commit diff
path: root/src/liballoc/slice.rs
AgeCommit message (Collapse)AuthorLines
2017-09-04Make slice::split_at_mut example demonstrate mutabilityNiels Egberts-20/+25
Moved the examples from split_at_mut to split_at so the example at split_at_mut can just demonstrate mutability.
2017-08-26Rollup merge of #44072 - lukaramu:fix-doc-headings, r=steveklabnikCorey Farwell-9/+9
Fix inconsistent doc headings This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574. r? @steveklabnik
2017-08-24Fix inconsistent doc headingslukaramu-9/+9
This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574.
2017-08-21Add [T]::swap_with_sliceScott McMurray-0/+25
The safe version of a method from ptr, like [T]::copy_from_slice
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-1/+1
Like #43008 (f668999), but _much more aggressive_.
2017-07-21Clarify that sort_unstable is deterministicStjepan Glavina-15/+18
2017-07-02Auto merge of #43010 - stjepang:stabilize-sort-unstable, r=alexcrichtonbors-12/+15
Stabilize feature sort_unstable Closes #40585
2017-07-02Stabilize feature sort_unstableStjepan Glavina-12/+15
2017-06-24Improve sort tests and benchmarksStjepan Glavina-2/+2
2017-06-13Merge crate `collections` into `alloc`Murarth-0/+1943