-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(nonzero_from_str_radix)]
This is a tracking issue for the from_str_radix of NonZero<T> where T is one of the primitive integer types.
This method is identical to the from_str_radix method of the primitive integer types, except that it can return IntErrorKind::Zero as an error if the string represents 0. This method is similar to the NonZero::<T>::from_str method, except that it can parse both decimal integers and non-decimal integers.
Public API
// core::num
// Where `T` is one of the primitive integer types.
impl NonZero<T> {
pub const fn from_str_radix(src: &str, radix: u32) -> Result<Self, ParseIntError>;
}Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- ACP: ACP: Add
NonZero::<T>::from_str_radixlibs-team#548 - Implementation: feat: Add
NonZero::<T>::from_str_radix#151945 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.