X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Ferrors.rs;h=f00d2ab2d0e741a3b833b56b90ec8edae7fbce93;hb=17c0fc82a4efe980fd3e135548d47d407517fe63;hp=ad699354233cb705fd41221cee58293a3a62c3d2;hpb=f961daef33ad1e999c83aafbf654db449e0e93e0;p=rust-lightning diff --git a/lightning/src/util/errors.rs b/lightning/src/util/errors.rs index ad699354..f00d2ab2 100644 --- a/lightning/src/util/errors.rs +++ b/lightning/src/util/errors.rs @@ -16,7 +16,7 @@ use core::fmt; /// Indicates an error on the client's part (usually some variant of attempting to use too-low or /// too-high values) -#[derive(Clone, PartialEq)] +#[derive(Clone, PartialEq, Eq)] pub enum APIError { /// Indicates the API was wholly misused (see err for more). Cases where these can be returned /// are documented, but generally indicates some precondition of a function was violated.