about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2024-01-10 19:13:15 -0800
committerJosh Triplett <josh@joshtriplett.org>2024-05-13 16:43:13 +0200
commit2af29af710aa4613e4ff670e5902d7ea6725988f (patch)
tree1678b43c25d0e1f9688b2d7793f9717b43c451aa
parent2f20bb4a976e7dbd11c5329b48a2d402ff81fca9 (diff)
downloadrust-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.md2
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