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.