Clarify wording on breaking arrays across lines

Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
This commit is contained in:
Josh Triplett 2023-07-20 13:51:46 -07:00
parent 144e8a3866
commit 77d09cb69e

View file

@ -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