style-guide: Consistently refer to rustfmt as rustfmt

This commit is contained in:
Josh Triplett 2023-06-22 12:45:56 -07:00
parent 2c0dd90936
commit 4c5bb06a97
3 changed files with 5 additions and 5 deletions

View file

@ -16,8 +16,8 @@ Rust code has similar formatting, less mental effort is required to comprehend a
new project, lowering the barrier to entry for new developers.
Thus, there are productivity benefits to using a formatting tool (such as
rustfmt), and even larger benefits by using a community-consistent formatting,
typically by using a formatting tool's default settings.
`rustfmt`), and even larger benefits by using a community-consistent
formatting, typically by using a formatting tool's default settings.
## Formatting conventions

View file

@ -505,8 +505,8 @@ use b;
Because of `macro_use`, attributes must also start a new group and prevent
re-ordering.
Note that tools which only have access to syntax (such as Rustfmt) cannot tell
which imports are from an external crate or the std lib, etc.
Note that tools which only have access to syntax (such as `rustfmt`) cannot
tell which imports are from an external crate or the std lib, etc.
#### Ordering list import

View file

@ -24,6 +24,6 @@ following principles (in rough priority order):
* application
- ease of manual application
- ease of implementation (in Rustfmt, and in other tools/editors/code generators)
- ease of implementation (in `rustfmt`, and in other tools/editors/code generators)
- internal consistency
- simplicity of formatting rules