Tracking issue for str escaping · Issue #27791 · rust-lang/rust (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
This is a tracking issue for the unstable str_escape
feature in the standard library. The open questions I know of here are:
- Do we want to support these relatively arbitrary ways to escape strings? Note that these same methods for escaping characters are already stable.
- Are the precise forms of escaping stable? (probably because they delegate to
char
implementations)
I suspect that because the implementations on char
are stable that we'll also stabilize these.
Signatures:
String::escape_debug(&self) -> String; String::escape_default(&self) -> String; String::escape_unicode(&self) -> String;