Fix copy-paste error
This commit is contained in:
parent
5446e73de6
commit
9b11be72c0
@ -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 New Issue
Block a user