Skip to content

Commit

Permalink
Reference dial method of the inner class in DefaultSwarm.dial
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelsr committed May 27, 2024
1 parent b146c7d commit 0c0be18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@ async fn main() -> Result<(), Box<dyn Error>> {

impl ww_net::mdns::Dialer for DefaultSwarm {
fn dial(&mut self, opts: DialOpts) -> Result<(), swarm::DialError> {
return self.dial(opts);
self.0.dial(opts)
}
}

0 comments on commit 0c0be18

Please sign in to comment.