docs: The real answer

This commit is contained in:
Brian Anderson 2012-10-03 20:03:37 -07:00
parent 8bf30726fe
commit d0893fe219

View file

@ -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));