Skip to content

Commit

Permalink
Stabilize mutable slice API
Browse files Browse the repository at this point in the history
This commit is another in the series of vector slice API
stabilization. The focus here is the *mutable* slice API.

Largely, this API inherits the stability attributes [previously
assigned](#16332) to the analogous
methods on immutable slides. It also adds comments to a few `unstable`
attributes that were previously missing them.

In addition, the commit adds several `_mut` variants of APIs that were
missing:

- `init_mut`
- `head_mut`
- `tail_mut`
- `splitn_mut`
- `rsplitn_mut`

Some of the unsafe APIs -- `unsafe_set`, `init_elem`, and `copy_memory`
-- were deprecated in favor of working through `as_mut_ptr`, to simplify
the API surface.

Due to deprecations, this is a:

[breaking-change]
  • Loading branch information
aturon committed Sep 26, 2014
1 parent 2550243 commit 4f509a1
Showing 1 changed file with 266 additions and 239 deletions.

0 comments on commit 4f509a1

Please sign in to comment.