-
Notifications
You must be signed in to change notification settings - Fork 23
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
Create AsciiStr
from str
using const fn
#84
Comments
tormol
added a commit
to tormol/rust-ascii
that referenced
this issue
Jun 9, 2022
As `const fn` alternatives to the trait-based from_ascii(). Closes tomprogrammer#84
tormol
added a commit
to tormol/rust-ascii
that referenced
this issue
Jun 9, 2022
As `const fn` alternatives to the trait-based from_ascii(). Closes tomprogrammer#84
tormol
added a commit
to tormol/rust-ascii
that referenced
this issue
Sep 11, 2022
As `const fn` alternatives to the trait-based from_ascii(). Closes tomprogrammer#84
tormol
added a commit
to tormol/rust-ascii
that referenced
this issue
Sep 11, 2022
As `const fn` alternatives to the trait-based from_ascii(). Closes tomprogrammer#84
tormol
added a commit
to tormol/rust-ascii
that referenced
this issue
Sep 12, 2022
As `const fn` alternatives to the trait-based from_ascii(). Closes tomprogrammer#84
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since
mem::transmute
will be const-stable in 1.56.0, it would be nice if there was a way to construct anAsciiStr
(andAsciiString
) at compile-time. Since thefrom_str
function is in a trait, and thus cannot beconst
yet, we would probably need to add a new method for this.The text was updated successfully, but these errors were encountered: