Skip to content

Commit 5dc1403

Browse files
committed
---
yaml --- r: 219083 b: refs/heads/snap-stage3 c: 7ac6b58 h: refs/heads/master i: 219081: 5eac060 219079: 3161e5e v: v3
1 parent 3eba21f commit 5dc1403

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,6 +1,6 @@
11
---
22
refs/heads/master: c044791d80ea0dc5c4b57b6030a67b69f8510239
3-
refs/heads/snap-stage3: f901086b0db092f331b9555199298c58d685f668
3+
refs/heads/snap-stage3: 7ac6b58237dca474a5ff187a8fc9d0cea884d91f
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/snap-stage3/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/snap-stage3/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)