-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-strArea: str and StringArea: str and StringC-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 RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.T-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(inherent_ascii_escape)]
Public API
impl u8 {
pub fn escape_ascii(self) -> core::ascii::EscapeDefault;
}
impl [u8] {
pub fn escape_ascii(&self) -> EscapeAscii<'_>;
}
// core::slice
pub struct EscapeAscii<'a>;
Steps / History
- Implementation:
Add escape_ascii method to u8 and [u8] #73111escape_ascii take 2 #83130 - Final commenting period (FCP)
- Stabilization PR
Unresolved Questions
- Naming.
escape_ascii
,escape_default
,ascii_escape_default
, ... ? - Deprecate
std::ascii::escape_default
? (That is, all ofstd::ascii
.)
Metadata
Metadata
Assignees
Labels
A-strArea: str and StringArea: str and StringC-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 RFCLibs-TrackedLibs issues that are tracked on the team's project board.Libs issues that are tracked on the team's project board.T-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.