Skip to content

Commit

Permalink
Reword formatting for where clauses
Browse files Browse the repository at this point in the history
Suggested-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
  • Loading branch information
joshtriplett committed May 13, 2024
1 parent 9ff777b commit 163b1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/style-guide/src/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Prefer to use single-letter names for generic parameters.
These rules apply for `where` clauses on any item.

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

```rust
Expand Down

0 comments on commit 163b1a6

Please sign in to comment.