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.
This commit is contained in:
parent
615b58b9f9
commit
081e15a0d8
@ -491,14 +491,12 @@ example, `a::*` comes before `b::a` but `a::b` comes before `a::*`. E.g.,
|
|||||||
|
|
||||||
#### Normalisation
|
#### Normalisation
|
||||||
|
|
||||||
Tools must make the following normalisations:
|
Tools must make the following normalisations, recursively:
|
||||||
|
|
||||||
* `use a::self;` -> `use a;`
|
* `use a::self;` -> `use a;`
|
||||||
* `use a::{};` -> (nothing)
|
* `use a::{};` -> (nothing)
|
||||||
* `use a::{b};` -> `use a::b;`
|
* `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
|
Tools must not otherwise merge or un-merge import lists or adjust glob imports
|
||||||
(without an explicit option).
|
(without an explicit option).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user