Mark'Error' as non-exhaustive
This simplifies semantic versionning constraints.
This commit is contained in:
parent
08ff8db0ac
commit
f633c6e224
|
@ -1,5 +1,6 @@
|
||||||
/// A singular type for all errors that could happen when using this library.
|
/// A singular type for all errors that could happen when using this library.
|
||||||
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||||
|
#[non_exhaustive]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
InvalidFen,
|
InvalidFen,
|
||||||
InvalidPosition,
|
InvalidPosition,
|
||||||
|
|
Loading…
Reference in a new issue