Skip to content

Commit

Permalink
Fix docs of enable_push (#646)
Browse files Browse the repository at this point in the history
Remove redundant and misleading phrase in
client::Builder::enable_push documentation.

Resolves #645
  • Loading branch information
vi committed Oct 29, 2022
1 parent fcbef50 commit 294000c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.rs
Expand Up @@ -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.
///
Expand Down

0 comments on commit 294000c

Please sign in to comment.