Skip to content

Commit

Permalink
Fix cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gokhan-simsek-iota committed Dec 27, 2024
1 parent 2abb99e commit b84d65a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/core/src/network/tonic_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -932,8 +932,8 @@ impl<S: NetworkService> NetworkManager<S> for TonicManager {
}
}

/// Attempts to convert a multiaddr of the form `/[ip4,ip6,dns]/{}/[udp,tcp]/{port}`
/// into a host:port string.
/// Attempts to convert a multiaddr of the form
/// `/[ip4,ip6,dns]/{}/[udp,tcp]/{port}` into a host:port string.
fn to_host_port_str(addr: &Multiaddr) -> Result<String, &'static str> {
let mut iter = addr.iter();

Expand Down

0 comments on commit b84d65a

Please sign in to comment.