From 953ce8344f53ea956e5e4146d65783d7e02e30fd Mon Sep 17 00:00:00 2001 From: Roman Proskuryakov Date: Wed, 15 Feb 2023 12:06:59 +0000 Subject: [PATCH] Fix doc links --- transports/quic/src/config.rs | 8 ++++---- transports/quic/src/transport.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/transports/quic/src/config.rs b/transports/quic/src/config.rs index 6bc0ed8fcc0..1c07af8207f 100644 --- a/transports/quic/src/config.rs +++ b/transports/quic/src/config.rs @@ -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 @@ -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, - /// TLS server config for the inner [`quinn_proto::ServerConfig`]. + /// TLS server config for the inner [`quinn::ServerConfig`]. server_tls_config: Arc, } @@ -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, diff --git a/transports/quic/src/transport.rs b/transports/quic/src/transport.rs index e9bcc679688..87051396ad5 100644 --- a/transports/quic/src/transport.rs +++ b/transports/quic/src/transport.rs @@ -59,7 +59,7 @@ use std::{ /// See . #[derive(Debug)] pub struct GenTransport { - /// Config for the inner [`quinn_proto`] structs. + /// Config for the inner [`quinn`] structs. quinn_config: QuinnConfig, /// Timeout for the [`Connecting`] future. handshake_timeout: Duration,