diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-12-16 23:44:43 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-12-30 12:02:22 -0800 |
| commit | 9d919d2302b5df42e3bf8979560e0da21f4b2bad (patch) | |
| tree | e67b390951a2acd018bea7b57698571ada7a22cb /src/libstd | |
| parent | 8a5057af2e19bea374600669fee49af1ccf89d08 (diff) | |
| download | rust-9d919d2302b5df42e3bf8979560e0da21f4b2bad.tar.gz rust-9d919d2302b5df42e3bf8979560e0da21f4b2bad.zip | |
Second pass stabilization: vec
This commit takes a second pass through the `vec` module to stabilize its API. The changes are as follows: **Stable**: * `dedup` * `from_raw_parts` * `insert` * `into_iter` * `is_empty` * `remove` * `reserve_exact` * `reserve` * `retain` * `swap_remove` * `truncate` **Deprecated**: * `from_fn`, `from_elem`, `grow_fn` and `grow`, all deprecated in favor of iterators. See https://github.com/rust-lang/rfcs/pull/509 * `partition`, `partitioned`, deprecated in favor of a new, more general iterator consumer called `partition`. * `unzip`, deprecated in favor of a new, more general iterator consumer called `unzip`. A few remaining methods are left at experimental status. [breaking-change]
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 8274baeacfa..74c387c5eea 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -158,6 +158,7 @@ pub use alloc::rc; pub use core_collections::slice; pub use core_collections::str; pub use core_collections::string; +#[stable] pub use core_collections::vec; pub use unicode::char; |
