From e718a19713dbc7f79b89e2d00f533660502d629a Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Quiros Date: Wed, 12 Oct 2022 11:38:22 -0500 Subject: [PATCH] Clippy happy on tests --- waku/src/events/mod.rs | 2 +- waku/src/general/mod.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/waku/src/events/mod.rs b/waku/src/events/mod.rs index a46601e..73bf28a 100644 --- a/waku/src/events/mod.rs +++ b/waku/src/events/mod.rs @@ -100,7 +100,7 @@ pub fn waku_set_event_callback(f: F) { #[cfg(test)] mod tests { use crate::events::waku_set_event_callback; - use crate::{Event, MessageId, Signal, WakuMessage, WakuPubSubTopic}; + use crate::{Event, Signal}; // TODO: how to actually send a signal and check if the callback is run? #[test] diff --git a/waku/src/general/mod.rs b/waku/src/general/mod.rs index 94e49d7..5e2f3c4 100644 --- a/waku/src/general/mod.rs +++ b/waku/src/general/mod.rs @@ -494,7 +494,6 @@ where mod tests { use super::*; use crate::WakuPubSubTopic; - use sscanf::scanf; #[test] fn parse_waku_topic() { let s = "/waku/2/default-waku/proto";