From 163b1a66152faffb5543f5a7ed5d80251f4d466c Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Wed, 24 Jan 2024 12:48:11 -0800 Subject: [PATCH] Reword formatting for where clauses Suggested-by: Caleb Cartwright --- src/doc/style-guide/src/items.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/style-guide/src/items.md b/src/doc/style-guide/src/items.md index 9b8cdaed88bee..c0628691b7734 100644 --- a/src/doc/style-guide/src/items.md +++ b/src/doc/style-guide/src/items.md @@ -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