Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanKung committed Jul 7, 2023
1 parent be9b804 commit a320d39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/message/handlers/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use async_recursion::async_recursion;
use async_trait::async_trait;
use futures::future::join_all;

use crate::dht::successor::SuccessorWriter;

use crate::dht::Chord;
use crate::dht::ChordStorageSync;

use crate::dht::PeerRingAction;
use crate::dht::PeerRingRemoteAction;
use crate::dht::TopoInfo;
Expand All @@ -20,7 +20,7 @@ use crate::message::types::JoinDHT;
use crate::message::types::Message;
use crate::message::types::QueryForTopoInfoReport;
use crate::message::types::QueryForTopoInfoSend;
use crate::message::types::SyncVNodeWithSuccessor;

use crate::message::FindSuccessorReportHandler;
use crate::message::FindSuccessorThen;
use crate::message::HandleMsg;
Expand Down Expand Up @@ -93,7 +93,7 @@ pub async fn handle_join_dht(act: PeerRingAction) -> Result<Vec<MessageHandlerEv
Ok(vec![])
}
}
/// A new successor is set, request the new successor for it's successor list
// A new successor is set, request the new successor for it's successor list
PeerRingAction::RemoteAction(next, PeerRingRemoteAction::QueryForSuccessorList) => {
Ok(vec![MessageHandlerEvent::SendDirectMessage(
Message::QueryForTopoInfoSend(QueryForTopoInfoSend { did: next }),
Expand Down

0 comments on commit a320d39

Please sign in to comment.