-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Implement int_from_ascii_radix #105206
Implement int_from_ascii_radix #105206
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@rustbot label +T-libs-api -T-libs |
0bb9b3b
to
c3c14e4
Compare
This will need an accompanying library API change proposal as the bot indicates:
@rustbot author |
Thanks! There are some open questions regarding the |
Proposal to add new function(s) was accepted by libs-team: rust-lang/libs-team#469 |
Created a tracking issue: #134821 |
Motivation here is to allow parsing integers without UTF-8 validation. Useful when strings are UTF-8 by only convention, and even some binary protocols. Similar to #101035.
Behaves exactly like
from_str_radix
, which already works with raw bytes internally.