]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/ascii.rs
std: Split the `std_misc` feature
[rust.git] / src / libstd / ascii.rs
index b808acb73a12a2691085ed0c92091d8dce973a1c..9b94b7f7003ed62f521e37eae944b7848cf61f66 100644 (file)
@@ -18,7 +18,7 @@
 use mem;
 
 /// Extension methods for ASCII-subset only operations on owned strings
-#[unstable(feature = "std_misc",
+#[unstable(feature = "owned_ascii_ext",
            reason = "would prefer to do this in a more general way")]
 pub trait OwnedAsciiExt {
     /// Converts the string to ASCII upper case:
@@ -189,8 +189,6 @@ fn make_ascii_lowercase(&mut self) {
     }
 }
 
-#[unstable(feature = "std_misc",
-           reason = "would prefer to do this in a more general way")]
 impl OwnedAsciiExt for String {
     #[inline]
     fn into_ascii_uppercase(self) -> String {
@@ -244,8 +242,6 @@ fn make_ascii_lowercase(&mut self) {
     }
 }
 
-#[unstable(feature = "std_misc",
-           reason = "would prefer to do this in a more general way")]
 impl OwnedAsciiExt for Vec<u8> {
     #[inline]
     fn into_ascii_uppercase(mut self) -> Vec<u8> {