-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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(is_ascii_octdigit)]
This is a tracking issue for two new methods char::is_ascii_octdigit
and u8::is_ascii_octdigit
, which, in the same vein as is_ascii_hexdigit
, checks if a value is an ASCII octal digit ('0'..='7'
).
This is a shorthand for {char, u8}::is_digit(self, 8)
. Prior discussion on irlo.
Public API
// core::char
impl char {
pub fn is_ascii_octdigit(self) -> bool;
}
// core::num
impl u8 {
pub fn is_ascii_octdigit(self) -> bool;
}
Steps / History
- Implementation: introduce
{char, u8}::is_ascii_octdigit
#101308 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
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.