Skip to content

Commit

Permalink
Clarify wording on breaking arrays across lines
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb Cartwright <[email protected]>
  • Loading branch information
joshtriplett and calebcartwright committed Jul 21, 2023
1 parent 144e8a3 commit 77d09cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/style-guide/src/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77d09cb

Please sign in to comment.