Skip to content

Commit bb0d3f0

Browse files
committed
---
yaml --- r: 212710 b: refs/heads/tmp c: 7ac6b58 h: refs/heads/master v: v3
1 parent 97798a8 commit bb0d3f0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3232
refs/heads/beta: 4efc4ec178f6ddf3c8cd268b011f3a04056f9d16
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35-
refs/heads/tmp: f901086b0db092f331b9555199298c58d685f668
35+
refs/heads/tmp: 7ac6b58237dca474a5ff187a8fc9d0cea884d91f
3636
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: bea1c4a78e5233ea6f85a2028a26e08c26635fca
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/src/libcollections/str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,7 +1851,7 @@ impl str {
18511851
/// let s = "HELLO";
18521852
/// assert_eq!(s.to_lowercase(), "hello");
18531853
/// ```
1854-
#[unstable(feature = "collections")]
1854+
#[stable(feature = "unicode_case_mapping", since = "1.2.0")]
18551855
pub fn to_lowercase(&self) -> String {
18561856
let mut s = String::with_capacity(self.len());
18571857
for (i, c) in self[..].char_indices() {
@@ -1892,7 +1892,7 @@ impl str {
18921892
/// let s = "hello";
18931893
/// assert_eq!(s.to_uppercase(), "HELLO");
18941894
/// ```
1895-
#[unstable(feature = "collections")]
1895+
#[stable(feature = "unicode_case_mapping", since = "1.2.0")]
18961896
pub fn to_uppercase(&self) -> String {
18971897
let mut s = String::with_capacity(self.len());
18981898
s.extend(self[..].chars().flat_map(|c| c.to_uppercase()));

branches/tmp/src/librustc_unicode/char.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ impl Iterator for ToUppercase {
7070
/// An iterator over the titlecase mapping of a given character, returned from
7171
/// the [`to_titlecase` method](../primitive.char.html#method.to_titlecase) on
7272
/// characters.
73-
#[stable(feature = "char_to_titlecase", since = "1.2.0")]
73+
#[stable(feature = "unicode_case_mapping", since = "1.2.0")]
7474
pub struct ToTitlecase(CaseMappingIter);
7575

76-
#[stable(feature = "char_to_titlecase", since = "1.2.0")]
76+
#[stable(feature = "unicode_case_mapping", since = "1.2.0")]
7777
impl Iterator for ToTitlecase {
7878
type Item = char;
7979
fn next(&mut self) -> Option<char> { self.0.next() }
@@ -481,7 +481,7 @@ impl char {
481481
/// Returns an iterator which yields the characters corresponding to the
482482
/// lowercase equivalent of the character. If no conversion is possible then
483483
/// 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")]
485485
#[inline]
486486
pub fn to_titlecase(self) -> ToTitlecase {
487487
ToTitlecase(CaseMappingIter::new(conversions::to_title(self)))

0 commit comments

Comments
 (0)