Yes, you're right, just typo.Thanks!

2013/2/1 Andrew Rink <[email protected]>

> 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
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to