diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-08-29 13:20:58 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-09-21 21:05:05 -0700 |
| commit | 087b9283a0ed8df68f47ab07a25e60bc6a3ca050 (patch) | |
| tree | cebc272db3379fe238aa633a658ed4d5f3d411c8 /src/libstd/path | |
| parent | 81d1feb9804f66034df4f218cc8fb0209c7450a7 (diff) | |
| download | rust-087b9283a0ed8df68f47ab07a25e60bc6a3ca050.tar.gz rust-087b9283a0ed8df68f47ab07a25e60bc6a3ca050.zip | |
collections: Stabilize Vec
The following methods, types, and names have become stable: * Vec * Vec::as_mut_slice * Vec::as_slice * Vec::capacity * Vec::clear * Vec::default * Vec::grow * Vec::insert * Vec::len * Vec::new * Vec::pop * Vec::push * Vec::remove * Vec::set_len * Vec::shrink_to_fit * Vec::truncate * Vec::with_capacity The following have become unstable: * Vec::dedup // naming * Vec::from_fn // naming and unboxed closures * Vec::get_mut // will be removed for IndexMut * Vec::grow_fn // unboxed closures and naming * Vec::retain // unboxed closures * Vec::swap_remove // uncertain naming * Vec::from_elem // uncertain semantics * vec::unzip // should be generic for all collections The following have been deprecated * Vec::append - call .extend() * Vec::append_one - call .push() * Vec::from_slice - call .to_vec() * Vec::grow_set - call .grow() and then .push() * Vec::into_vec - move the vector instead * Vec::move_iter - renamed to iter_move() * Vec::to_vec - call .clone() The following methods remain experimental pending conventions * vec::raw * vec::raw::from_buf * Vec:from_raw_parts * Vec::push_all This is a breaking change in terms of the signature of the `Vec::grow` function. The argument used to be taken by reference, but it is now taken by value. Code must update by removing a leading `&` sigil or by calling `.clone()` to create a value. [breaking-change]
Diffstat (limited to 'src/libstd/path')
0 files changed, 0 insertions, 0 deletions
