Skip to content

Commit 081e15a

Browse files
committed
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.
1 parent 615b58b commit 081e15a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,14 +491,12 @@ example, `a::*` comes before `b::a` but `a::b` comes before `a::*`. E.g.,
491491

492492
#### Normalisation
493493

494-
Tools must make the following normalisations:
494+
Tools must make the following normalisations, recursively:
495495

496496
* `use a::self;` -> `use a;`
497497
* `use a::{};` -> (nothing)
498498
* `use a::{b};` -> `use a::b;`
499499

500-
And must apply these recursively.
501-
502500
Tools must not otherwise merge or un-merge import lists or adjust glob imports
503501
(without an explicit option).
504502

0 commit comments

Comments
 (0)