3 ms·
I wrote it up; http://huonw.github.io/2014/06/11/error-handling-in-rust-knn-case-study.html http://huonw.github.io/2014/06/11/error-handling-in-rust-knn...
by dbaupp 12y ago
I wrote it up; http://huonw.github.io/2014/06/11/error-handling-in-rust-knn-case-study.html http://huonw.github.io/2014/06/11/error-handling-in-rust-knn...
- kzrdude 12y agoOk that's the amazingest answer you could give to my question! Very cool, it doesn't look so bad. In my mind this style should be the default for error handling when coding (i.e. I'd prefer to push the choice of using .unwrap or not to the caller)