Suggest space separated format str literal
This commit is contained in:
parent
8b59fbc951
commit
83a8af50bb
2 changed files with 3 additions and 3 deletions
|
|
@ -15,8 +15,8 @@ LL | println!(3, 4);
|
|||
| ^
|
||||
help: you might be missing a string literal to format with
|
||||
|
|
||||
LL | println!("{}, {}", 3, 4);
|
||||
| ^^^^^^^^^
|
||||
LL | println!("{} {}", 3, 4);
|
||||
| ^^^^^^^^
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue