diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2023-07-03 16:14:55 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2023-07-20 17:54:51 -0700 |
| commit | 081e15a0d81b8feba7e72bb7955543008a89bda0 (patch) | |
| tree | 72c1426706173cfa46945a96b135e08182d370f8 | |
| parent | 615b58b9f987158e0d264b3f249339a9ebd70ca0 (diff) | |
| download | rust-081e15a0d81b8feba7e72bb7955543008a89bda0.tar.gz rust-081e15a0d81b8feba7e72bb7955543008a89bda0.zip | |
style-guide: Simplify the structure of a recommendation (no semantic change)
Avoid putting a sentence fragment after a list; integrate it with the sentence before the list.
| -rw-r--r-- | src/doc/style-guide/src/items.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doc/style-guide/src/items.md b/src/doc/style-guide/src/items.md index ae8a36d68e2..29a6c6d145c 100644 --- a/src/doc/style-guide/src/items.md +++ b/src/doc/style-guide/src/items.md @@ -491,14 +491,12 @@ example, `a::*` comes before `b::a` but `a::b` comes before `a::*`. E.g., #### Normalisation -Tools must make the following normalisations: +Tools must make the following normalisations, recursively: * `use a::self;` -> `use a;` * `use a::{};` -> (nothing) * `use a::{b};` -> `use a::b;` -And must apply these recursively. - Tools must not otherwise merge or un-merge import lists or adjust glob imports (without an explicit option). |
