Skip to content

Commit 04fd029

Browse files
fixes doctests
1 parent 9e137a9 commit 04fd029

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/client/conn/http1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ where
182182
///
183183
/// ```
184184
/// # use http::header::HOST;
185-
/// # use hyper::client::conn::SendRequest;
185+
/// # use hyper::client::conn::http1::SendRequest;
186186
/// # use hyper::Body;
187187
/// use hyper::Request;
188188
///

src/client/conn/http2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ where
119119
///
120120
/// ```
121121
/// # use http::header::HOST;
122-
/// # use hyper::client::conn::SendRequest;
122+
/// # use hyper::client::conn::http2::SendRequest;
123123
/// # use hyper::Body;
124124
/// use hyper::Request;
125125
///

src/client/conn/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
//!
4242
//! // To send via the same connection again, it may not work as it may not be ready,
4343
//! // so we have to wait until the request_sender becomes ready.
44-
//! request_sender.ready().await?;
44+
//! // TODO:(mike) how to handle readiness
45+
//! // request_sender.ready().await?;
4546
//! let request = Request::builder()
4647
//! .header("Host", "example.com")
4748
//! .method("GET")

0 commit comments

Comments
 (0)