Skip to content

Commit

Permalink
Fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
kpp committed Feb 15, 2023
1 parent 7e788b6 commit 953ce83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions transports/quic/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub struct Config {
/// Must be set lower than the idle_timeout of both
/// peers to be effective.
///
/// See [`quinn_proto::TransportConfig::keep_alive_interval`] for more
/// See [`quinn::TransportConfig::keep_alive_interval`] for more
/// info.
pub keep_alive_interval: Duration,
/// Maximum number of incoming bidirectional streams that may be open
Expand All @@ -60,9 +60,9 @@ pub struct Config {
/// As client the version is chosen based on the remote's address.
pub support_draft_29: bool,

/// TLS client config for the inner [`quinn_proto::ClientConfig`].
/// TLS client config for the inner [`quinn::ClientConfig`].
client_tls_config: Arc<rustls::ClientConfig>,
/// TLS server config for the inner [`quinn_proto::ServerConfig`].
/// TLS server config for the inner [`quinn::ServerConfig`].
server_tls_config: Arc<rustls::ServerConfig>,
}

Expand All @@ -87,7 +87,7 @@ impl Config {
}
}

/// Represents the inner configuration for [`quinn_proto`].
/// Represents the inner configuration for [`quinn`].
#[derive(Debug, Clone)]
pub struct QuinnConfig {
pub(crate) client_config: quinn::ClientConfig,
Expand Down
2 changes: 1 addition & 1 deletion transports/quic/src/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ use std::{
/// See <https://github.com/multiformats/multiaddr/issues/145>.
#[derive(Debug)]
pub struct GenTransport<P: Provider> {
/// Config for the inner [`quinn_proto`] structs.
/// Config for the inner [`quinn`] structs.
quinn_config: QuinnConfig,
/// Timeout for the [`Connecting`] future.
handshake_timeout: Duration,
Expand Down

0 comments on commit 953ce83

Please sign in to comment.