mirror of
https://github.com/rust-lang/rust
synced 2024-09-18 16:02:39 +00:00
Clarify wording on breaking arrays across lines
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
This commit is contained in:
parent
144e8a3866
commit
77d09cb69e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue