From 77d09cb69e7e459b6eee9d7564844c73064b2e84 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Thu, 20 Jul 2023 13:51:46 -0700 Subject: [PATCH] Clarify wording on breaking arrays across lines Co-authored-by: Caleb Cartwright --- src/doc/style-guide/src/expressions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/style-guide/src/expressions.md b/src/doc/style-guide/src/expressions.md index 42ecc442eb36c..0aed8763a0628 100644 --- a/src/doc/style-guide/src/expressions.md +++ b/src/doc/style-guide/src/expressions.md @@ -254,7 +254,7 @@ fn main() { } ``` -For arrays large enough to break across lines, if using the repeating +For arrays that have to be broken across lines, if using the repeating initializer, break after the `;`, not before. Otherwise, follow the rules below for function calls. In any case, block-indent the contents of the initializer, and put line breaks after the opening square bracket and before the closing