mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Fix copy-paste error
This commit is contained in:
parent
5446e73de6
commit
9b11be72c0
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ fn main() {
|
|||
writeln!(&mut v, "Hello");
|
||||
let world = "world";
|
||||
writeln!(&mut v, "Hello {}", world);
|
||||
writeln!(&mut v, "Hello {world}", world);
|
||||
writeln!(&mut v, "Hello {world}", world=world);
|
||||
writeln!(&mut v, "3 in hex is {:X}", 3);
|
||||
writeln!(&mut v, "2 + 1 = {:.4}", 3);
|
||||
writeln!(&mut v, "2 + 1 = {:5.4}", 3);
|
||||
|
|
Loading…
Reference in a new issue