summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@ifm.com>2022-07-22 08:23:38 +0200
committerMatthias Beyer <matthias.beyer@ifm.com>2022-08-18 14:46:54 +0200
commit7807aba4f82c7e3e761e5429392693979ed5953e (patch)
tree9fd2b237f66d7b367cfbd80b90e33ab77e3f8bd3
parent3b0ba8b7a0a42d6a08c175492314fe44018105a6 (diff)
Fix clippy in mqtt_channel: Remove let-unit-value
This patch fixes `clippy::let_unit_value`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r--crates/common/mqtt_channel/src/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/common/mqtt_channel/src/tests.rs b/crates/common/mqtt_channel/src/tests.rs
index fb30eac7..7a8201e5 100644
--- a/crates/common/mqtt_channel/src/tests.rs
+++ b/crates/common/mqtt_channel/src/tests.rs
@@ -99,7 +99,7 @@ mod tests {
]
.into_iter()
{
- let () = broker.publish(topic, payload).await?;
+ broker.publish(topic, payload).await?;
assert_eq!(
MaybeMessage::Next(message(topic, payload)),
next_message(&mut messages).await
@@ -113,7 +113,7 @@ mod tests {
]
.into_iter()
{
- let () = broker.publish(topic, payload).await?;
+ broker.publish(topic, payload).await?;
assert_eq!(MaybeMessage::Timeout, next_message(&mut messages).await);
}