Mark'Error' as non-exhaustive

This simplifies semantic versionning constraints.
This commit is contained in:
Bruno BELANYI 2022-07-28 21:19:08 +02:00
parent 08ff8db0ac
commit f633c6e224

View file

@ -1,5 +1,6 @@
/// A singular type for all errors that could happen when using this library.
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
#[non_exhaustive]
pub enum Error {
InvalidFen,
InvalidPosition,