We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c72e01e commit f55c366Copy full SHA for f55c366
src/libcore/slice.rs
@@ -1501,6 +1501,10 @@ impl<T: PartialOrd> PartialOrd for [T] {
1501
1502
/// Extension methods for slices containing integers.
1503
#[unstable(feature = "int_slice")]
1504
+#[deprecated(since = "1.2.0",
1505
+ reason = "has not seen much usage and may want to live in the \
1506
+ standard library now that most slice methods are \
1507
+ on an inherent implementation block")]
1508
pub trait IntSliceExt<U, S> {
1509
/// Converts the slice to an immutable slice of unsigned integers with the same width.
1510
fn as_unsigned<'a>(&'a self) -> &'a [U];
0 commit comments