Fix clippy: Derive Eq for BoolOrString

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 18:56:26 +01:00
parent bc144c5a65
commit f79c0980c7
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ pub struct Source {
}
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)]
pub enum BoolOrString {
Bool(bool),