From 51f6a124546fe624c05a713566691df928f29964 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 30 Apr 2018 19:32:39 +0200 Subject: [PATCH] Fix links to handshake() documentation (#265) --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ce81ad3..1dfbf84 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,7 @@ //! HTTP/2.0 handshake once opened. //! //! Once the connection is ready to start the HTTP/2.0 handshake, it can be -//! passed to [`Server::handshake`] or [`Client::handshake`]. At this point, the +//! passed to [`server::handshake`] or [`client::handshake`]. At this point, the //! library will start the handshake process, which consists of: //! //! * The client sends the connection preface (a predefined sequence of 24 @@ -81,8 +81,8 @@ //! [`SendStream`]: struct.SendStream.html //! [Starting HTTP/2]: http://httpwg.org/specs/rfc7540.html#starting //! [upgrade]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism -//! [`Server::handshake`]: server/struct.Server.html#method.handshake -//! [`Client::handshake`]: client/struct.Client.html#method.handshake +//! [`server::handshake`]: server/fn.handshake.html +//! [`client::handshake`]: client/fn.handshake.html #![doc(html_root_url = "https://docs.rs/h2/0.1.5")] #![deny(warnings, missing_debug_implementations, missing_docs)]