diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-18 15:07:40 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-18 15:40:40 +0200 |
commit | 27d21b7e0f4a0563e279189ed9152d9a89929fe2 (patch) | |
tree | 4ac26b9af03485e64e49d6ae8e9f8940f1f1498c | |
parent | 6cd599b95bb62c2539b2f7c9940c47a54e53d155 (diff) |
Fix clippy: c8y_translator: Add derive for Eq
This fixes clippy::derive_partial_eq_without_eq
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r-- | crates/core/c8y_translator/src/serializer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/c8y_translator/src/serializer.rs b/crates/core/c8y_translator/src/serializer.rs index fb2d788a..bf5aa3cf 100644 --- a/crates/core/c8y_translator/src/serializer.rs +++ b/crates/core/c8y_translator/src/serializer.rs @@ -18,7 +18,7 @@ pub enum C8yJsonSerializationError { JsonWriterError(#[from] JsonWriterError), } -#[derive(thiserror::Error, Debug, PartialEq)] +#[derive(thiserror::Error, Debug, Eq, PartialEq)] pub enum MeasurementStreamError { #[error("Unexpected time stamp within a group")] UnexpectedTimestamp, |