Skip to content

Commit

Permalink
Second pass stabilization: vec
Browse files Browse the repository at this point in the history
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 rust-lang/rfcs#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]
  • Loading branch information
aturon committed Dec 30, 2014
1 parent 8a5057a commit 9d919d2
Show file tree
Hide file tree
Showing 2 changed files with 809 additions and 894 deletions.
Loading

0 comments on commit 9d919d2

Please sign in to comment.