On 23/12/2013 22:19, Liigo Zhuang wrote:
Code full of .unwrap() is not good smell I think.

I agree, and I wrote in the first email that it is one of the downsides.

But doubling the API (from_utf8 and from_utf8_opt) is also not a good smell, so it’s a compromise to find.

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

Reply via email to