diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2024-01-10 19:13:15 -0800 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2024-05-13 16:43:13 +0200 |
| commit | 2af29af710aa4613e4ff670e5902d7ea6725988f (patch) | |
| tree | 1678b43c25d0e1f9688b2d7793f9717b43c451aa | |
| parent | 2f20bb4a976e7dbd11c5329b48a2d402ff81fca9 (diff) | |
| download | rust-2af29af710aa4613e4ff670e5902d7ea6725988f.tar.gz rust-2af29af710aa4613e4ff670e5902d7ea6725988f.zip | |
style-guide: Not all where clauses can be written as inline bounds
| -rw-r--r-- | src/doc/style-guide/src/items.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/style-guide/src/items.md b/src/doc/style-guide/src/items.md index 71818019189..095e5512ea9 100644 --- a/src/doc/style-guide/src/items.md +++ b/src/doc/style-guide/src/items.md @@ -347,7 +347,7 @@ where ``` If a `where` clause is very short, prefer using an inline bound on the type -parameter. +parameter if possible. If a component of a `where` clause does not fit and contains `+`, break it before each `+` and block-indent the continuation lines. Put each bound on its |
