Add APIs for dealing with titlecase - #122668
Conversation
|
☔ The latest upstream changes (presumably #122616) made this pull request unmergeable. Please resolve the merge conflicts. |
5f6fa45 to
fe5d72b
Compare
|
☔ The latest upstream changes (presumably #122013) made this pull request unmergeable. Please resolve the merge conflicts. |
fe5d72b to
b2fdfab
Compare
|
If you want to modify |
This comment has been minimized.
This comment has been minimized.
b2fdfab to
a2512b4
Compare
|
The libs team gave a positive response to the ACP. @rustbot label -S-waiting-on-ACP S-waiting-on-review |
This comment has been minimized.
This comment has been minimized.
a2512b4 to
108a15c
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
108a15c to
15a00b3
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
15a00b3 to
ea8393a
Compare
|
@rustbot reroll |
|
@bors r- Causing hangs in the x86_64-gnu-aux job. |
|
This PR was contained in a rollup (#154227), which was unapproved. |
|
Note that the Tests with many inputs/cases typically need to be excluded from miri testing, so that they don’t cause problems in that job. |
|
@rustbot ready |
5a53091 to
e1e903c
Compare
|
@bors try jobs=x86_64-gnu-aux |
This comment has been minimized.
This comment has been minimized.
|
@bors r=Mark-Simulacrum |
| /// Returns `true` if this `char` has the general category for titlecase letters. | ||
| /// Conceptually, these characters consist of an uppercase portion followed by a lowercase portion. |
There was a problem hiding this comment.
What does it mean to "have a category"? Something can "have a property" or "be in a category", but the wording used here doesn't seem grammatical to me.
There was a problem hiding this comment.
"Has the Unicode property assignment General_Category=Titlecase_Letter". But yes, "is in the general category" would probably be better
View all comments
ACP: rust-lang/libs-team#354
Tracking issue: #153892
r? libs-api
@rustbot label T-libs -T-libs-api A-unicode
The last commit has some insta-stable(Edit: will do in follow-up)PartialEqimpls, therefore: @rustbot label -needs-fcpAlternatively, I could split those out into a follow-up PR.