diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-11-29 12:14:03 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-11-29 21:11:20 -0800 |
| commit | a850bb0e5d07212ae716f447f3f69f6e4ce467da (patch) | |
| tree | 2915b18366da7635096986b24d0cf97739f1fd56 /src/liballoc/str.rs | |
| parent | 78fcf338833bd265c7f8dd1e46caf02b66039bb8 (diff) | |
| download | rust-a850bb0e5d07212ae716f447f3f69f6e4ce467da.tar.gz rust-a850bb0e5d07212ae716f447f3f69f6e4ce467da.zip | |
Update bootstrap compiler
Also remove a number of `stage0` annotations and such
Diffstat (limited to 'src/liballoc/str.rs')
| -rw-r--r-- | src/liballoc/str.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/liballoc/str.rs b/src/liballoc/str.rs index 9755c5d54f2..975ea4e1a3e 100644 --- a/src/liballoc/str.rs +++ b/src/liballoc/str.rs @@ -2110,7 +2110,6 @@ impl str { /// [`to_uppercase`]: #method.to_uppercase #[stable(feature = "ascii_methods_on_intrinsics", since = "1.21.0")] #[inline] - #[cfg(not(stage0))] pub fn to_ascii_uppercase(&self) -> String { let mut bytes = self.as_bytes().to_vec(); bytes.make_ascii_uppercase(); @@ -2141,7 +2140,6 @@ impl str { /// [`to_lowercase`]: #method.to_lowercase #[stable(feature = "ascii_methods_on_intrinsics", since = "1.21.0")] #[inline] - #[cfg(not(stage0))] pub fn to_ascii_lowercase(&self) -> String { let mut bytes = self.as_bytes().to_vec(); bytes.make_ascii_lowercase(); @@ -2163,7 +2161,6 @@ impl str { /// ``` #[stable(feature = "ascii_methods_on_intrinsics", since = "1.21.0")] #[inline] - #[cfg(not(stage0))] pub fn eq_ignore_ascii_case(&self, other: &str) -> bool { self.as_bytes().eq_ignore_ascii_case(other.as_bytes()) } @@ -2178,7 +2175,6 @@ impl str { /// /// [`to_ascii_uppercase`]: #method.to_ascii_uppercase #[stable(feature = "ascii_methods_on_intrinsics", since = "1.21.0")] - #[cfg(not(stage0))] pub fn make_ascii_uppercase(&mut self) { let me = unsafe { self.as_bytes_mut() }; me.make_ascii_uppercase() @@ -2194,7 +2190,6 @@ impl str { /// /// [`to_ascii_lowercase`]: #method.to_ascii_lowercase #[stable(feature = "ascii_methods_on_intrinsics", since = "1.21.0")] - #[cfg(not(stage0))] pub fn make_ascii_lowercase(&mut self) { let me = unsafe { self.as_bytes_mut() }; me.make_ascii_lowercase() |
