> I'm trying to convert tuple of uints to string using to_str() module like > this: > > io::println((1,2).to_string()); > > Is it compiler error or I've missed something?
Did you mean .to_str()? The following program works for me.
fn main() {
io::println((1, 2).to_str());
}
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev
