diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-18 15:07:41 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-18 15:40:40 +0200 |
commit | 9faefbe919cc09d5763978daac9d15c492eebb55 (patch) | |
tree | 9d6892912902b3a7ff88b263e2ab2cbb578bd18a /crates/core/tedge_mapper | |
parent | 217cf351d342c842a58fbc50fce76d62a4947168 (diff) |
Fix clippy: tedge_mapper: Add derive for Eq
This fixes clippy::derive_partial_eq_without_eq
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
Diffstat (limited to 'crates/core/tedge_mapper')
-rw-r--r-- | crates/core/tedge_mapper/src/c8y/topic.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/core/tedge_mapper/src/c8y/topic.rs b/crates/core/tedge_mapper/src/c8y/topic.rs index 7df4f5af..d8faebb7 100644 --- a/crates/core/tedge_mapper/src/c8y/topic.rs +++ b/crates/core/tedge_mapper/src/c8y/topic.rs @@ -3,7 +3,7 @@ use agent_interface::TopicError; use mqtt_channel::MqttError; use mqtt_channel::Topic; -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] pub enum C8yTopic { SmartRestRequest, SmartRestResponse, @@ -59,7 +59,7 @@ impl TryFrom<Topic> for C8yTopic { } } -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, Eq, PartialEq)] pub enum MapperSubscribeTopic { C8yTopic(C8yTopic), ResponseTopic(ResponseTopic), |