about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-07-20 13:51:46 -0700
committerJosh Triplett <josh@joshtriplett.org>2023-07-20 17:57:21 -0700
commit77d09cb69e7e459b6eee9d7564844c73064b2e84 (patch)
tree05ab283c64aa787ae3cc51f85acf85d00ffdb4ab
parent144e8a38669c874464624e4d27f418eb02f29eff (diff)
downloadrust-77d09cb69e7e459b6eee9d7564844c73064b2e84.tar.gz
rust-77d09cb69e7e459b6eee9d7564844c73064b2e84.zip
Clarify wording on breaking arrays across lines
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
-rw-r--r--src/doc/style-guide/src/expressions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/style-guide/src/expressions.md b/src/doc/style-guide/src/expressions.md
index 42ecc442eb3..0aed8763a06 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