Skip to content

Commit

Permalink
moar clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
“ramfox” committed Dec 2, 2024
1 parent 48ea9f1 commit 8c0856f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions iroh-relay/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ impl ClientBuilder {
}
}

#[cfg(any(test))]
#[cfg(test)]
/// Creates a client config that trusts any servers without verifying their TLS certificate.
///
/// Should be used for testing local relay setups only.
Expand Down Expand Up @@ -638,7 +638,7 @@ impl Actor {
}

event!(
target: "iroh::_events::relay::connected",
target: "events.net.relay.connected",
Level::DEBUG,
home = self.is_preferred,
url = %self.url,
Expand Down
2 changes: 1 addition & 1 deletion iroh-relay/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ pub struct TlsConfig<EC: fmt::Debug, EA: fmt::Debug = EC> {
///
/// Normally you'd choose port `80`.
pub https_bind_addr: SocketAddr,
/// The socket address on which to server the QUIC server.
/// The socket address on which to server the QUIC server is QUIC is enabled.
pub quic_bind_addr: SocketAddr,
/// Mode for getting a cert.
pub cert: CertConfig<EC, EA>,
Expand Down

0 comments on commit 8c0856f

Please sign in to comment.