docs(client): touch ups for Client, Builder, and connect types

This commit is contained in:
Sean McArthur
2019-01-10 12:18:16 -08:00
parent 607c4da0b9
commit 8842da9184
3 changed files with 84 additions and 13 deletions

View File

@@ -41,13 +41,14 @@ pub struct HttpConnector<R = GaiResolver> {
///
/// # Example
///
/// ```rust
/// ```
/// use hyper::Uri;
/// use hyper::client::{Client, connect::HttpInfo};
/// use hyper::rt::Future;
///
/// let client = Client::new();
///
/// let fut = client.get("http://example.local".parse().unwrap())
/// let fut = client.get(Uri::from_static("http://example.local"))
/// .inspect(|resp| {
/// resp
/// .extensions()