docs: The real answer
This commit is contained in:
parent
8bf30726fe
commit
d0893fe219
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ don't match the types of the arguments.
|
|||
~~~~
|
||||
# let mystery_object = ();
|
||||
|
||||
io::println(fmt!("%s is %d", "the answer", 42));
|
||||
io::println(fmt!("%s is %d", "the answer", 43));
|
||||
|
||||
// %? will conveniently print any type
|
||||
io::println(fmt!("what is this thing: %?", mystery_object));
|
||||
|
|
Loading…
Add table
Reference in a new issue