Fix clippy: Derive Eq for BoolOrString
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
bc144c5a65
commit
f79c0980c7
|
@ -84,7 +84,7 @@ pub struct Source {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn string_or_bool<'de, D: Deserializer<'de>>(val: D) -> ::std::result::Result<bool, D::Error> {
|
fn string_or_bool<'de, D: Deserializer<'de>>(val: D) -> ::std::result::Result<bool, D::Error> {
|
||||||
#[derive(Clone, Debug, Deserialize, PartialEq)]
|
#[derive(Clone, Debug, Deserialize, PartialEq, Eq)]
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
pub enum BoolOrString {
|
pub enum BoolOrString {
|
||||||
Bool(bool),
|
Bool(bool),
|
||||||
|
|
Loading…
Reference in New Issue