From 5e1293a48b5c9d08e188d030c6a7186f71e85fa0 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 18 May 2024 19:40:47 +0100 Subject: [PATCH] review nits part 2 --- actix-web/CHANGES.md | 3 +-- actix-web/src/server.rs | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/actix-web/CHANGES.md b/actix-web/CHANGES.md index b41285b65..5b43a51d0 100644 --- a/actix-web/CHANGES.md +++ b/actix-web/CHANGES.md @@ -7,13 +7,12 @@ - Add `unicode` crate feature (on-by-default) to switch between `regex` and `regex-lite` as a trade-off between full unicode support and binary size. - Add `rustls-0_23` crate feature. - Add `HttpServer::{bind_rustls_0_23, listen_rustls_0_23}()` builder methods. -- Add `HttpServer::tls_handshake_timeout` builder method for `rustls-0_22` and `rustls-0_23` +- Add `HttpServer::tls_handshake_timeout()` builder method for `rustls-0_22` and `rustls-0_23`. ### Changed - Update `brotli` dependency to `6`. - Minimum supported Rust version (MSRV) is now 1.72. -- Avoid type confusion in rare circumstances ### Fixed diff --git a/actix-web/src/server.rs b/actix-web/src/server.rs index c84bb65fc..33b1e1894 100644 --- a/actix-web/src/server.rs +++ b/actix-web/src/server.rs @@ -625,7 +625,7 @@ where /// Binds to existing listener for accepting incoming TLS connection requests using Rustls /// v0.21. /// - /// See [`listen()`](Self::listen) for more details on the `lst` argument. + /// See [`listen()`](Self::listen()) for more details on the `lst` argument. /// /// ALPN protocols "h2" and "http/1.1" are added to any configured ones. #[cfg(feature = "rustls-0_21")] @@ -742,7 +742,7 @@ where /// Binds to existing listener for accepting incoming TLS connection requests using Rustls /// v0.22. /// - /// See [`listen()`](Self::listen) for more details on the `lst` argument. + /// See [`listen()`](Self::listen()) for more details on the `lst` argument. /// /// ALPN protocols "h2" and "http/1.1" are added to any configured ones. #[cfg(feature = "rustls-0_22")] @@ -808,7 +808,7 @@ where /// Binds to existing listener for accepting incoming TLS connection requests using Rustls /// v0.23. /// - /// See [`listen()`](Self::listen) for more details on the `lst` argument. + /// See [`listen()`](Self::listen()) for more details on the `lst` argument. /// /// ALPN protocols "h2" and "http/1.1" are added to any configured ones. #[cfg(feature = "rustls-0_23")]