summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-12-18 20:46:01 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-12-18 20:46:01 +0100
commite546c1904282b160255c7ec1522c621a4d9ba8e8 (patch)
treefa43fb4ea79da90b395a10fe68595e75a595320c
parentea6d354f6344562d3927905b7add6326e4872a13 (diff)
Ignore unused variables
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--lib/src/reactor/gossip/strategy.rs2
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 } => {