Hi Alexander Looks like a typo. The function your code calls is to_string() instead of to_str(). Tried the statements below and both worked: io::println(fmt!("%s", (1,2).to_str())); io::println((1,2).to_str());
Andrew On Thu, Jan 31, 2013 at 10:07 PM, Alexander Stavonin <a.stavo...@gmail.com>wrote: > Full error report: > > test.rs:11:16: error: type `(<VI2>,<VI3>)` does not implement any method > in scope named `to_string` > > test.rs:11 io::println((1,2).to_string()); > ^~~~~~~~~~~~~~~~~~ > error: aborting due to previous error > > > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev > >
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev