Auto merge of #104506 - joshtriplett:style-principles-readability-in-plain-text, r=compiler-errors

Expand a style-guide principle: readability in plain text
This commit is contained in:
bors 2022-11-27 21:07:04 +00:00
commit 07e664c41a

View File

@ -8,7 +8,9 @@ following principles (in rough priority order):
- avoiding misleading formatting
- accessibility - readable and editable by users using the the widest
variety of hardware, including non-visual accessibility interfaces
- readability of code when quoted in rustc error messages
- readability of code in contexts without syntax highlighting or IDE
assistance, such as rustc error messages, diffs, grep, and other
plain-text contexts
* aesthetics
- sense of 'beauty'