Deprecate name OwnedSlice and don't use it
This commit is contained in:
parent
09d4a436a7
commit
0d298f9904
22 changed files with 96 additions and 114 deletions
|
|
@ -9,4 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
/// A non-growable owned slice.
|
||||
#[unstable(feature = "rustc_private", issue = "0")]
|
||||
#[rustc_deprecated(since = "1.7.0", reason = "use `ptr::P<[T]>` instead")]
|
||||
pub type OwnedSlice<T> = ::ptr::P<[T]>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue