diff --git a/src/libcore/slice.rs b/src/libcore/slice.rs index c979b97731b..91acb0d6955 100644 --- a/src/libcore/slice.rs +++ b/src/libcore/slice.rs @@ -1501,6 +1501,10 @@ impl PartialOrd for [T] { /// Extension methods for slices containing integers. #[unstable(feature = "int_slice")] +#[deprecated(since = "1.2.0", + reason = "has not seen much usage and may want to live in the \ + standard library now that most slice methods are \ + on an inherent implementation block")] pub trait IntSliceExt { /// Converts the slice to an immutable slice of unsigned integers with the same width. fn as_unsigned<'a>(&'a self) -> &'a [U];