mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Reword formatting for where clauses
Suggested-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
This commit is contained in:
parent
9ff777bf50
commit
163b1a6615
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user