style-guide: Consistently refer to rustfmt as rustfmt
This commit is contained in:
parent
2c0dd90936
commit
4c5bb06a97
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue