Skip to content

Commit 08b7e2a

Browse files
committed
---
yaml --- r: 212387 b: refs/heads/master c: 7ac6b58 h: refs/heads/master i: 212385: 66bbbc8 212383: a323dc4 v: v3
1 parent 86d468b commit 08b7e2a

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: f901086b0db092f331b9555199298c58d685f668
2+
refs/heads/master: 7ac6b58237dca474a5ff187a8fc9d0cea884d91f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
55
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05

trunk/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()));

trunk/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)