Skip to content

Commit 77d09cb

Browse files
Clarify wording on breaking arrays across lines
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
1 parent 144e8a3 commit 77d09cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/style-guide/src/expressions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ fn main() {
254254
}
255255
```
256256

257-
For arrays large enough to break across lines, if using the repeating
257+
For arrays that have to be broken across lines, if using the repeating
258258
initializer, break after the `;`, not before. Otherwise, follow the rules below
259259
for function calls. In any case, block-indent the contents of the initializer,
260260
and put line breaks after the opening square bracket and before the closing

0 commit comments

Comments
 (0)