Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document why str.to_{lower,upper}case return String #40335

Merged
merged 1 commit into from
Mar 9, 2017

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented Mar 7, 2017

Fixes #39201.

@rust-highfive
Copy link
Collaborator

r? @sfackler

(rust_highfive has picked a reviewer for you, use r? to override)

@tbu-
Copy link
Contributor Author

tbu- commented Mar 7, 2017

CC @Havvy

@sfackler
Copy link
Member

sfackler commented Mar 7, 2017

r? @steveklabnik

@@ -1646,6 +1646,10 @@ impl str {
/// 'Lowercase' is defined according to the terms of the Unicode Derived Core Property
/// `Lowercase`.
///
/// Since some characters can expand into multiple when changing the case,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say "multiple characters" instead of "multiple".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@@ -1718,6 +1722,10 @@ impl str {
/// 'Uppercase' is defined according to the terms of the Unicode Derived Core Property
/// `Uppercase`.
///
/// Since some characters can expand into multiple when changing the case,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise here.

@tbu- tbu- force-pushed the pr_doc_str_to_somecase branch from 45cf255 to f3a2f90 Compare March 7, 2017 23:06
@steveklabnik
Copy link
Member

@bors: r+ rollup

thanks!

@bors
Copy link
Contributor

bors commented Mar 8, 2017

📌 Commit f3a2f90 has been approved by steveklabnik

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Mar 8, 2017
…eklabnik

Document why `str.to_{lower,upper}case` return `String`

Fixes rust-lang#39201.
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Mar 8, 2017
…eklabnik

Document why `str.to_{lower,upper}case` return `String`

Fixes rust-lang#39201.
arielb1 pushed a commit to arielb1/rust that referenced this pull request Mar 8, 2017
…eklabnik

Document why `str.to_{lower,upper}case` return `String`

Fixes rust-lang#39201.
bors added a commit that referenced this pull request Mar 9, 2017
@bors bors merged commit f3a2f90 into rust-lang:master Mar 9, 2017
@bors
Copy link
Contributor

bors commented Mar 9, 2017

⌛ Testing commit f3a2f90 with merge 3087a1f...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants