From 6478476a846c29250819dbd0101cfbb580096ceb Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Thu, 24 Dec 2020 10:13:27 -0500 Subject: [PATCH] Fix doc typo --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f2e026c..df8ea40 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -81,7 +81,7 @@ pub struct HttpsLayer { impl HttpsLayer { /// Creates a new `HttpsLayer` with default settings. /// - /// ALPN is configured to support both HTTP/1 and HTTP/1.1. + /// ALPN is configured to support both HTTP/2 and HTTP/1.1. pub fn new() -> Result { let mut ssl = SslConnector::builder(SslMethod::tls())?; // avoid unused_mut warnings when building against OpenSSL 1.0.1