Histogram error handling by LukeMathWalker · Pull Request #25 · rust-ndarray/ndarray-stats
and others added 9 commits
January 29, 2019 09:00This is nice because it doesn't lose information. (Returning an `Option` combines the two error variants into a single case.)
Once the `#[non_exhaustive]` attribute is stable, we should replace the hidden enum variant with that attribute on the enum.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters