]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/option.rs
core: Split apart the global `core` feature
[rust.git] / src / libcore / option.rs
index 593c5e79d3425f85055a90f64e4f1c32d117c35f..9a00d1071473fa405a5188453861610d0d4cc574 100644 (file)
@@ -285,7 +285,7 @@ pub fn as_mut<'r>(&'r mut self) -> Option<&'r mut T> {
     /// assert_eq!(x, Some("Dirt"));
     /// ```
     #[inline]
-    #[unstable(feature = "core",
+    #[unstable(feature = "as_slice",
                reason = "waiting for mut conventions")]
     pub fn as_mut_slice<'r>(&'r mut self) -> &'r mut [T] {
         match *self {