about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-06-22 12:47:24 -0700
committerJosh Triplett <josh@joshtriplett.org>2023-06-22 12:49:57 -0700
commitd270af31972b2673ef0b05a5749a49f8a68a3d2b (patch)
tree43d3e18678a1101bf464fb2d259e3ede28963b7b /src/doc
parent4c5bb06a97515c1135e9339e6fa1fd78e7531ba2 (diff)
downloadrust-d270af31972b2673ef0b05a5749a49f8a68a3d2b.tar.gz
rust-d270af31972b2673ef0b05a5749a49f8a68a3d2b.zip
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.
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/style-guide/src/items.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/doc/style-guide/src/items.md b/src/doc/style-guide/src/items.md
index a9c559d0bb8..06ee4e28ccb 100644
--- a/src/doc/style-guide/src/items.md
+++ b/src/doc/style-guide/src/items.md
@@ -505,10 +505,6 @@ 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.
-
-
 #### Ordering list import
 
 Names in a list import must be sorted ascii-betically, but with `self` and