From 8e3561135548a43b42602f1748ebfaf06bb2dd9f Mon Sep 17 00:00:00 2001 From: Vitaly _Vi Shukela Date: Sat, 29 Oct 2022 13:45:33 +0200 Subject: [PATCH] Fix docs of enable_push Remove redundant and misleading phrase in client::Builder::enable_push documentation. Resolves #645 --- src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.rs b/src/client.rs index a6c649811..411afa5e0 100644 --- a/src/client.rs +++ b/src/client.rs @@ -986,8 +986,8 @@ impl Builder { /// Enables or disables server push promises. /// - /// This value is included in the initial SETTINGS handshake. When set, the - /// server MUST NOT send a push promise. Setting this value to value to + /// This value is included in the initial SETTINGS handshake. + /// Setting this value to value to /// false in the initial SETTINGS handshake guarantees that the remote server /// will never send a push promise. ///