I'm trying to convert tuple of uints to string using to_str() module like
this:

io::println((1,2).to_string());

Looks like it should work as to_str has implementation for (A, B), but:

test.rs:11     io::println((1,2).to_string());
                             ^~~~~~~~~~~~~~~~~~
error: aborting due to previous error

Is it compiler error or I've missed something?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to