Skip to content

Commit 07e664c

Browse files
committed
Auto merge of #104506 - joshtriplett:style-principles-readability-in-plain-text, r=compiler-errors
Expand a style-guide principle: readability in plain text
2 parents 1eb62b1 + d6f88b5 commit 07e664c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/style-guide/src/principles.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ following principles (in rough priority order):
88
- avoiding misleading formatting
99
- accessibility - readable and editable by users using the the widest
1010
variety of hardware, including non-visual accessibility interfaces
11-
- readability of code when quoted in rustc error messages
11+
- readability of code in contexts without syntax highlighting or IDE
12+
assistance, such as rustc error messages, diffs, grep, and other
13+
plain-text contexts
1214

1315
* aesthetics
1416
- sense of 'beauty'

0 commit comments

Comments
 (0)