On Wed, Oct 23, 2013 at 8:47 AM, Alex Crichton <[email protected]> wrote:

> With these changes, the code would look like:
>
>     use std::rt::io::File;
>
>     let mut stream = File::create("test.txt");
>     writeln!(&mut stream, "test {}, {}, {aa}", 1, 3.0, aa=2);
>
>

How would errors be handled in this case? Raising conditions?

Thanks

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

Reply via email to