As others mentioned, it is to_str() instead of to_string().

You can also use the %? format string qualifier: io::println(fmt!("Tuple is
%?", (1, 2)));

--
Ziad
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to