-
Notifications
You must be signed in to change notification settings - Fork 13.3k
std::ascii
reform
#19916
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
std::ascii
reform
#19916
Conversation
r? @aturon |
Uh, this causes ICEs for me locally. I’ll try a clean build. Output of
|
Never mind, ICEs disappeared when rebuilding after |
This builds on a Rust compiler that includes rust-lang/rust#19916
Looks great to me, thanks @SimonSapin. r=me after a rebase. |
e59f83d
to
65062e2
Compare
Rebased. |
Needs a rebase |
65062e2
to
9033e2d
Compare
Done. |
Needs a rebase |
9033e2d
to
6b8c31b
Compare
Again :( Done. |
…ing. As a replacement, add is_ascii() to AsciiExt, and implement AsciiExt for u8 and char. [breaking-change]
6b8c31b
to
c82e59d
Compare
Fixed the incorrect import and squashed the change in the appropriate commit. |
Added dd0baf7 to fix |
There was still some |
Implements [RFC 486](rust-lang/rfcs#486). Fixes #19908. * Rename `to_ascii_{lower,upper}` to `to_ascii_{lower,upper}case`, per #14401 * Remove the `Ascii` type and associated traits: `AsciiCast`, `OwnedAsciiCast`, `AsciiStr`, `IntoBytes`, and `IntoString`. * As a replacement, add `.is_ascii()` to `AsciiExt`, and implement `AsciiExt` for `u8` and `char`. [breaking-change]
Implements [RFC 486](rust-lang/rfcs#486). Fixes #19908. * Rename `to_ascii_{lower,upper}` to `to_ascii_{lower,upper}case`, per #14401 * Remove the `Ascii` type and associated traits: `AsciiCast`, `OwnedAsciiCast`, `AsciiStr`, `IntoBytes`, and `IntoString`. * As a replacement, add `.is_ascii()` to `AsciiExt`, and implement `AsciiExt` for `u8` and `char`. [breaking-change]
This fixes the fallout of `std:ascii` reform (rust-lang/rust#19916). Note: tests will stop failing once rust-lang/glob#17 is merged.
Implements RFC 486. Fixes #19908.
to_ascii_{lower,upper}
toto_ascii_{lower,upper}case
, per Rename functions in Ascii #14401Ascii
type and associated traits:AsciiCast
,OwnedAsciiCast
,AsciiStr
,IntoBytes
, andIntoString
..is_ascii()
toAsciiExt
, and implementAsciiExt
foru8
andchar
.[breaking-change]