Skip to content

Commit 953ce83

Browse files
committed
Fix doc links
1 parent 7e788b6 commit 953ce83

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

transports/quic/src/config.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub struct Config {
3636
/// Must be set lower than the idle_timeout of both
3737
/// peers to be effective.
3838
///
39-
/// See [`quinn_proto::TransportConfig::keep_alive_interval`] for more
39+
/// See [`quinn::TransportConfig::keep_alive_interval`] for more
4040
/// info.
4141
pub keep_alive_interval: Duration,
4242
/// Maximum number of incoming bidirectional streams that may be open
@@ -60,9 +60,9 @@ pub struct Config {
6060
/// As client the version is chosen based on the remote's address.
6161
pub support_draft_29: bool,
6262

63-
/// TLS client config for the inner [`quinn_proto::ClientConfig`].
63+
/// TLS client config for the inner [`quinn::ClientConfig`].
6464
client_tls_config: Arc<rustls::ClientConfig>,
65-
/// TLS server config for the inner [`quinn_proto::ServerConfig`].
65+
/// TLS server config for the inner [`quinn::ServerConfig`].
6666
server_tls_config: Arc<rustls::ServerConfig>,
6767
}
6868

@@ -87,7 +87,7 @@ impl Config {
8787
}
8888
}
8989

90-
/// Represents the inner configuration for [`quinn_proto`].
90+
/// Represents the inner configuration for [`quinn`].
9191
#[derive(Debug, Clone)]
9292
pub struct QuinnConfig {
9393
pub(crate) client_config: quinn::ClientConfig,

transports/quic/src/transport.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ use std::{
5959
/// See <https://github.com/multiformats/multiaddr/issues/145>.
6060
#[derive(Debug)]
6161
pub struct GenTransport<P: Provider> {
62-
/// Config for the inner [`quinn_proto`] structs.
62+
/// Config for the inner [`quinn`] structs.
6363
quinn_config: QuinnConfig,
6464
/// Timeout for the [`Connecting`] future.
6565
handshake_timeout: Duration,

0 commit comments

Comments
 (0)