diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs index 5e8a9bca342b..6be46855fe60 100644 --- a/src/libcollections/str.rs +++ b/src/libcollections/str.rs @@ -1859,8 +1859,6 @@ pub fn replace(&self, from: &str, to: &str) -> String { /// # Examples /// /// ``` - /// #![feature(str_casing)] - /// /// let s = "HELLO"; /// assert_eq!(s.to_lowercase(), "hello"); /// ``` @@ -1905,8 +1903,6 @@ fn case_ignoreable_then_cased>(iter: I) -> bool { /// # Examples /// /// ``` - /// #![feature(str_casing)] - /// /// let s = "hello"; /// assert_eq!(s.to_uppercase(), "HELLO"); /// ```