Skip to content

Commit 163b1a6

Browse files
committed
Reword formatting for where clauses
Suggested-by: Caleb Cartwright <[email protected]>
1 parent 9ff777b commit 163b1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Prefer to use single-letter names for generic parameters.
296296
These rules apply for `where` clauses on any item.
297297

298298
If a where clause is short, and appears on a short one-line function
299-
declaration with no body or a short associated type with no `=`, format it on
299+
declaration with no body or on a short type with no `=`, format it on
300300
the same line as the declaration:
301301

302302
```rust

0 commit comments

Comments
 (0)