mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
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:
@@ -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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user