Skip to content

Commit 4c5bb06

Browse files
committed
style-guide: Consistently refer to rustfmt as rustfmt
1 parent 2c0dd90 commit 4c5bb06

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Rust code has similar formatting, less mental effort is required to comprehend a
1616
new project, lowering the barrier to entry for new developers.
1717

1818
Thus, there are productivity benefits to using a formatting tool (such as
19-
rustfmt), and even larger benefits by using a community-consistent formatting,
20-
typically by using a formatting tool's default settings.
19+
`rustfmt`), and even larger benefits by using a community-consistent
20+
formatting, typically by using a formatting tool's default settings.
2121

2222

2323
## Formatting conventions

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,8 @@ use b;
505505
Because of `macro_use`, attributes must also start a new group and prevent
506506
re-ordering.
507507

508-
Note that tools which only have access to syntax (such as Rustfmt) cannot tell
509-
which imports are from an external crate or the std lib, etc.
508+
Note that tools which only have access to syntax (such as `rustfmt`) cannot
509+
tell which imports are from an external crate or the std lib, etc.
510510

511511

512512
#### Ordering list import

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ following principles (in rough priority order):
2424

2525
* application
2626
- ease of manual application
27-
- ease of implementation (in Rustfmt, and in other tools/editors/code generators)
27+
- ease of implementation (in `rustfmt`, and in other tools/editors/code generators)
2828
- internal consistency
2929
- simplicity of formatting rules

0 commit comments

Comments
 (0)