-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Description
Feature gate: #![feature(const_make_ascii)]
This is a tracking issue for marking the make_ascii_uppercase
and make_ascii_lowercase
methods in char
, u8
, [u8]
, and str
as "const."
Public API
impl char {
pub const fn make_ascii_uppercase(&mut self);
pub const fn make_ascii_lowercase(&mut self);
}
impl u8 {
pub const fn make_ascii_uppercase(&mut self);
pub const fn make_ascii_lowercase(&mut self);
}
impl [u8] {
pub const fn make_ascii_uppercase(&mut self);
pub const fn make_ascii_lowercase(&mut self);
}
impl str {
pub const fn make_ascii_uppercase(&mut self);
pub const fn make_ascii_lowercase(&mut self);
}
Steps / History
- Implementation for
char
: Markchar::make_ascii_uppercase
andchar::make_ascii_lowercase
as const. #130697 - Implementation for
u8
: Marku8::make_ascii_uppercase
andu8::make_ascii_lowercase
as const. #130713 - Implementation for
[u8]
andstr
: Markmake_ascii_uppercase
andmake_ascii_lowercase
in[u8]
andstr
as const. #130738 - Final comment period (FCP)
- Stabilization PR: Stabilise
const_make_ascii
. #131496
Unresolved Questions
- None yet.
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.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.