From 081e15a0d81b8feba7e72bb7955543008a89bda0 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Mon, 3 Jul 2023 16:14:55 -0700 Subject: [PATCH] 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. --- src/doc/style-guide/src/items.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/doc/style-guide/src/items.md b/src/doc/style-guide/src/items.md index ae8a36d68e2f..29a6c6d145c9 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).