diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-12-18 20:46:01 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-12-18 20:46:01 +0100 |
commit | e546c1904282b160255c7ec1522c621a4d9ba8e8 (patch) | |
tree | fa43fb4ea79da90b395a10fe68595e75a595320c | |
parent | ea6d354f6344562d3927905b7add6326e4872a13 (diff) |
Ignore unused variables
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | lib/src/reactor/gossip/strategy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/reactor/gossip/strategy.rs b/lib/src/reactor/gossip/strategy.rs index b54dddc..6fe9d1a 100644 --- a/lib/src/reactor/gossip/strategy.rs +++ b/lib/src/reactor/gossip/strategy.rs @@ -15,7 +15,7 @@ pub struct LogStrategy; #[async_trait::async_trait] impl GossipHandlingStrategy for LogStrategy { - async fn handle_gossip_message(profile: Arc<RwLock<Profile>>, source: ipfs::PeerId, msg: GossipMessage) -> Result<()> { + async fn handle_gossip_message(_profile: Arc<RwLock<Profile>>, source: ipfs::PeerId, msg: GossipMessage) -> Result<()> { use std::convert::TryFrom; match msg { GossipMessage::CurrentProfileState { peer_id, cid } => { |