Skip to content

Commit

Permalink
Remove ()
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchTurner committed Dec 20, 2023
1 parent 44de252 commit e946440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions crates/services/p2p/src/heartbeat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ impl NetworkBehaviour for Heartbeat {
Ok(HeartbeatHandler::new(self.config.clone()))
}

fn on_swarm_event(&mut self, _event: FromSwarm) {
()
}
fn on_swarm_event(&mut self, _event: FromSwarm) {}

fn on_connection_handler_event(
&mut self,
Expand Down

0 comments on commit e946440

Please sign in to comment.