On 06/02/2012 09:06 AM, Niko Matsakis wrote:
- the caller can easily ignore the return value accidentally and thus not be aware that return has failed. We probably ought to make it so that ignored return values must be explicitly acknowledged, as in O'caml, using the lint pass. I think this will prevent a lot of bugs in general.
Agreed. Note that we should probably change the return value of hashmap::insert if we do this.
Patrick _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev