Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rfcs
Public
Notifications
You must be signed in to change notification settings
Fork
1.7k
Star
6.6k
Code
Issues
581
Pull requests
214
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
RFC: Dedented String Literals
- #3830
#3830
Open
nik-rev
wants to merge 43 commits into
rust-lang:master
rust-lang/rfcs:master
from
nik-contrib:dedented_strings
nik-contrib/rfcs:dedented_strings
Copy head branch name to clipboard
Conversation
Commits
43
(43)
Checks
Files changed
Open
RFC: Dedented String Literals
#3830
nik-rev
wants to merge 43 commits into
rust-lang:master
rust-lang/rfcs:master
from
nik-contrib:dedented_strings
nik-contrib/rfcs:dedented_strings
Copy head branch name to clipboard
Commits
Commits on Jun 5, 2025
RFC: Dedented String Literals
nik-rev
committed
ae8a3a2
View commit details
Copy full SHA for ae8a3a2
Browse repository at this point
fix: remove `#`
Show description for b98bd7f
nik-rev
and
programmerjake
authored
b98bd7f
View commit details
Copy full SHA for b98bd7f
Browse repository at this point
fix: add `#`
nik-rev
committed
5ced05a
View commit details
Copy full SHA for 5ced05a
Browse repository at this point
Commits on Jun 6, 2025
Clarify why indenting closing quote further is not a syntax error
nik-rev
committed
b4590ac
View commit details
Copy full SHA for b4590ac
Browse repository at this point
Relax rules around escaped whitespace characters
nik-rev
committed
ac324bd
View commit details
Copy full SHA for ac324bd
Browse repository at this point
Move section on crate-provided macros under the "Use a crate instead" section
nik-rev
committed
9bae185
View commit details
Copy full SHA for 9bae185
Browse repository at this point
Explain why a built-in macro would not suffice
nik-rev
committed
a589e0d
View commit details
Copy full SHA for a589e0d
Browse repository at this point
Add example how the last line of a dedented string could be formatted
nik-rev
committed
50725a6
View commit details
Copy full SHA for 50725a6
Browse repository at this point
fix: The arguments to `writeln!`
nik-rev
committed
14f09de
View commit details
Copy full SHA for 14f09de
Browse repository at this point
fix: use literal escaped `\t`
nik-rev
committed
0c7cb80
View commit details
Copy full SHA for 0c7cb80
Browse repository at this point
Line containing the closing quote may include escaped tab `\t` chars
nik-rev
committed
0e368fc
View commit details
Copy full SHA for 0e368fc
Browse repository at this point
fix: minor spelling
nik-rev
committed
220fac7
View commit details
Copy full SHA for 220fac7
Browse repository at this point
fix: spelling
nik-rev
committed
dfe1430
View commit details
Copy full SHA for dfe1430
Browse repository at this point
fix: spelling
Show description for 18dd08d
nik-rev
and
SabrinaJewson
authored
18dd08d
View commit details
Copy full SHA for 18dd08d
Browse repository at this point
fix: spelling
Show description for 4730cc8
nik-rev
and
SabrinaJewson
authored
4730cc8
View commit details
Copy full SHA for 4730cc8
Browse repository at this point
fix: add a newline
nik-rev
committed
8012322
View commit details
Copy full SHA for 8012322
Browse repository at this point
Add another "sacrifice readability of source code" example with `concat!`
Show description for 70faac7
nik-rev
and
SabrinaJewson
committed
70faac7
View commit details
Copy full SHA for 70faac7
Browse repository at this point
style: fix formatting for all code examples
Show description for 545c941
nik-rev
committed
545c941
View commit details
Copy full SHA for 545c941
Browse repository at this point
Add section explaining how to have a trailing newline
nik-rev
committed
8b9bcc3
View commit details
Copy full SHA for 8b9bcc3
Browse repository at this point
Align all opening quotes with closing quotes. Match `rustfmt`
Show description for 013a68c
nik-rev
committed
013a68c
View commit details
Copy full SHA for 013a68c
Browse repository at this point
Change behaviour of escaped literals: `\t`, `\r` and `\n`
nik-rev
committed
7a9a58b
View commit details
Copy full SHA for 7a9a58b
Browse repository at this point
fix: Use semicolon
nik-rev
committed
64e289e
View commit details
Copy full SHA for 64e289e
Browse repository at this point
fix: Word
Show description for b4dcfd0
nik-rev
and
joshtriplett
authored
b4dcfd0
View commit details
Copy full SHA for b4dcfd0
Browse repository at this point
Disallow whitespace escapes in the closing line
Show description for c8673ad
nik-rev
and
programmerjake
committed
c8673ad
View commit details
Copy full SHA for c8673ad
Browse repository at this point
Fix confusing indentation in example
nik-rev
committed
af7fc31
View commit details
Copy full SHA for af7fc31
Browse repository at this point
Remove incorrect description of the chosen acronym
nik-rev
committed
7f9417c
View commit details
Copy full SHA for 7f9417c
Browse repository at this point
Commits on Jun 7, 2025
Remove note about injected language into string
Show description for ae9a668
nik-rev
and
traviscross
committed
ae9a668
View commit details
Copy full SHA for ae9a668
Browse repository at this point
Explain why the letter `d` is the choice, rather than other letters
nik-rev
committed
b5cdd57
View commit details
Copy full SHA for b5cdd57
Browse repository at this point
Clarify why the dedented string always ends with a newline
nik-rev
committed
e36f8ed
View commit details
Copy full SHA for e36f8ed
Browse repository at this point
Clarify what is meant by "Whitespace"
nik-rev
committed
c0bddbd
View commit details
Copy full SHA for c0bddbd
Browse repository at this point
Clarify what is meant by an empty line
nik-rev
committed
8b4422c
View commit details
Copy full SHA for 8b4422c
Browse repository at this point
Commits on Jun 9, 2025
Add drawback: large string modifier count can be confusing
Show description for acda9b2
nik-rev
and
epage
authored
acda9b2
View commit details
Copy full SHA for acda9b2
Browse repository at this point
Add drawback about `dr"..."` strings
Show description for 9de6bcd
nik-rev
and
epage
authored
9de6bcd
View commit details
Copy full SHA for 9de6bcd
Browse repository at this point
fix: Spelling
nik-rev
committed
7bbf74b
View commit details
Copy full SHA for 7bbf74b
Browse repository at this point
Commits on Jun 12, 2025
fix: minor
Show description for c27b2b7
nik-rev
and
DragonDev1906
authored
c27b2b7
View commit details
Copy full SHA for c27b2b7
Browse repository at this point
fix: wording
Show description for d0b4c27
nik-rev
and
DragonDev1906
authored
d0b4c27
View commit details
Copy full SHA for d0b4c27
Browse repository at this point
Commits on Jun 13, 2025
Prior art: add `inspect.cleandoc` from Python
nik-rev
committed
1f68236
View commit details
Copy full SHA for 1f68236
Browse repository at this point
Disambiguate "whitespace" and "newline", use more technical terms
nik-rev
committed
995efe8
View commit details
Copy full SHA for 995efe8
Browse repository at this point
Allow horizontal whitespace characters between the opening quote and closing EOL
nik-rev
committed
d18a31a
View commit details
Copy full SHA for d18a31a
Browse repository at this point
Disallow mixing spaces and tabs
nik-rev
committed
0a8c747
View commit details
Copy full SHA for 0a8c747
Browse repository at this point
fix: indent only with spaces can't give you tabs
Show description for 371910d
nik-rev
and
programmerjake
authored
371910d
View commit details
Copy full SHA for 371910d
Browse repository at this point
fix: replace tabs with spaces
Show description for a3f9a19
nik-rev
and
programmerjake
authored
a3f9a19
View commit details
Copy full SHA for a3f9a19
Browse repository at this point
Allow mixing spaces and tabs*
Show description for 2eb90a1
nik-rev
committed
2eb90a1
View commit details
Copy full SHA for 2eb90a1
Browse repository at this point
You can’t perform that action at this time.