-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for nonzero_from_str_radix #152193
Copy link
Copy link
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.
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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(nonzero_from_str_radix)]This is a tracking issue for the
from_str_radixofNonZero<T>whereTis one of the primitive integer types.This method is identical to the
from_str_radixmethod of the primitive integer types, except that it can returnIntErrorKind::Zeroas an error if the string represents 0. This method is similar to theNonZero::<T>::from_strmethod, except that it can parse both decimal integers and non-decimal integers.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)NonZero::<T>::from_str_radixlibs-team#548NonZero::<T>::from_str_radix#151945Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩