File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
10
10
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
11
11
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
12
12
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13
- refs/heads/auto: f901086b0db092f331b9555199298c58d685f668
13
+ refs/heads/auto: 7ac6b58237dca474a5ff187a8fc9d0cea884d91f
14
14
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
15
15
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
16
16
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -1851,7 +1851,7 @@ impl str {
1851
1851
/// let s = "HELLO";
1852
1852
/// assert_eq!(s.to_lowercase(), "hello");
1853
1853
/// ```
1854
- #[ unstable ( feature = "collections " ) ]
1854
+ #[ stable ( feature = "unicode_case_mapping" , since = "1.2.0 ") ]
1855
1855
pub fn to_lowercase ( & self ) -> String {
1856
1856
let mut s = String :: with_capacity ( self . len ( ) ) ;
1857
1857
for ( i, c) in self [ ..] . char_indices ( ) {
@@ -1892,7 +1892,7 @@ impl str {
1892
1892
/// let s = "hello";
1893
1893
/// assert_eq!(s.to_uppercase(), "HELLO");
1894
1894
/// ```
1895
- #[ unstable ( feature = "collections " ) ]
1895
+ #[ stable ( feature = "unicode_case_mapping" , since = "1.2.0 ") ]
1896
1896
pub fn to_uppercase ( & self ) -> String {
1897
1897
let mut s = String :: with_capacity ( self . len ( ) ) ;
1898
1898
s. extend ( self [ ..] . chars ( ) . flat_map ( |c| c. to_uppercase ( ) ) ) ;
Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ impl Iterator for ToUppercase {
70
70
/// An iterator over the titlecase mapping of a given character, returned from
71
71
/// the [`to_titlecase` method](../primitive.char.html#method.to_titlecase) on
72
72
/// characters.
73
- #[ stable( feature = "char_to_titlecase " , since = "1.2.0" ) ]
73
+ #[ stable( feature = "unicode_case_mapping " , since = "1.2.0" ) ]
74
74
pub struct ToTitlecase ( CaseMappingIter ) ;
75
75
76
- #[ stable( feature = "char_to_titlecase " , since = "1.2.0" ) ]
76
+ #[ stable( feature = "unicode_case_mapping " , since = "1.2.0" ) ]
77
77
impl Iterator for ToTitlecase {
78
78
type Item = char ;
79
79
fn next ( & mut self ) -> Option < char > { self . 0 . next ( ) }
@@ -481,7 +481,7 @@ impl char {
481
481
/// Returns an iterator which yields the characters corresponding to the
482
482
/// lowercase equivalent of the character. If no conversion is possible then
483
483
/// an iterator with just the input character is returned.
484
- #[ stable( feature = "char_to_titlecase " , since = "1.2.0" ) ]
484
+ #[ stable( feature = "unicode_case_mapping " , since = "1.2.0" ) ]
485
485
#[ inline]
486
486
pub fn to_titlecase ( self ) -> ToTitlecase {
487
487
ToTitlecase ( CaseMappingIter :: new ( conversions:: to_title ( self ) ) )
You can’t perform that action at this time.
0 commit comments