Skip to content

Commit d270af3

Browse files
committed
style-guide: Remove inaccurate statement about rustfmt
rustfmt does include a mechanism to distinguish standard library imports, which it does syntactically by crate name. Avoid making a misleading statement that implies it cannot do this.
1 parent 4c5bb06 commit d270af3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,6 @@ 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
509-
tell which imports are from an external crate or the std lib, etc.
510-
511-
512508
#### Ordering list import
513509

514510
Names in a list import must be sorted ascii-betically, but with `self` and

0 commit comments

Comments
 (0)