Skip to content

Commit 3e2449c

Browse files
committed
style-guide: Rephrase a confusingly ordered, ambiguous sentence (and fix a typo)
This sentence had a parenthetical without a closing parenthesis, and had the phrase "which doesn't require special formatting" ambiguously at the end of a list when it only applied to the last item of the list.
1 parent c930b21 commit 3e2449c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ let y = (11, 22, 33);
6363

6464
In the declaration, put each variant on its own line, block indented.
6565

66-
Format each variant accordingly as either a struct, tuple struct, or identifier,
67-
which doesn't require special formatting (but without the `struct` keyword.
66+
Format each variant accordingly as either a struct (but without the `struct`
67+
keyword), a tuple struct, or an identifier (which doesn't require special
68+
formatting):
6869

6970
```rust
7071
enum FooBar {

0 commit comments

Comments
 (0)