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

Update Unicode escapes in /library/core/src/char/methods.rs #130773

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

bjoernager
Copy link
Contributor

@bjoernager bjoernager commented Sep 24, 2024

char::MAX is inconsistent on how Unicode escapes should be formatted. This PR resolves that.

@rustbot
Copy link
Collaborator

rustbot commented Sep 24, 2024

r? @thomcc

rustbot has assigned @thomcc.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Sep 24, 2024
@thomcc
Copy link
Member

thomcc commented Sep 27, 2024

Sorry, why? I'm not sure I understand the motivation here.

@bjoernager
Copy link
Contributor Author

bjoernager commented Sep 27, 2024

It was bugging me the way the docs were inconsistent in writing these escapes (specifically char::MAX which is different in synopsis and description). It may seem petty, but that is the only motivation on my part.

@thomcc
Copy link
Member

thomcc commented Oct 1, 2024

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Oct 1, 2024

📌 Commit 5efb3ef has been approved by thomcc

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 1, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 1, 2024
…iaskrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#130005 (Replace -Z default-hidden-visibility with -Z default-visibility)
 - rust-lang#130229 (ptr::add/sub: do not claim equivalence with `offset(c as isize)`)
 - rust-lang#130773 (Update Unicode escapes in `/library/core/src/char/methods.rs`)
 - rust-lang#130933 (rustdoc: lists items that contain multiple paragraphs are more clear)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit a5820b4 into rust-lang:master Oct 1, 2024
6 checks passed
@rustbot rustbot added this to the 1.83.0 milestone Oct 1, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Oct 1, 2024
Rollup merge of rust-lang#130773 - bjoernager:master, r=thomcc

Update Unicode escapes in `/library/core/src/char/methods.rs`

`char::MAX` is inconsistent on how Unicode escapes should be formatted. This PR resolves that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants