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 @@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: f901086b0db092f331b9555199298c58d685f668
32
+ refs/heads/stable: 7ac6b58237dca474a5ff187a8fc9d0cea884d91f
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
34
34
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
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