Tracking Issue for inherent_ascii_escape · Issue #77174 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
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
.)