touch up Client doc example
This commit is contained in:
		| @@ -31,20 +31,16 @@ static DEFAULT_USER_AGENT: &'static str = concat!(env!("CARGO_PKG_NAME"), "/", e | |||||||
| /// | /// | ||||||
| /// # Examples | /// # Examples | ||||||
| /// | /// | ||||||
| /// ```no_run | /// ``` | ||||||
| /// # extern crate reqwest; |  | ||||||
| /// # |  | ||||||
| /// # use reqwest::{Error, Client}; | /// # use reqwest::{Error, Client}; | ||||||
| /// # | /// # | ||||||
| /// # fn run() -> Result<(), Error> { | /// # fn run() -> Result<(), Error> { | ||||||
| ///     let client = Client::new()?; | /// let client = Client::new()?; | ||||||
| ///     client.get("http://httpbin.org/").send()?; | /// let resp = client.get("http://httpbin.org/").send()?; | ||||||
|  | /// #   drop(resp); | ||||||
| /// #   Ok(()) | /// #   Ok(()) | ||||||
| /// # } | /// # } | ||||||
| /// | /// | ||||||
| /// # fn main() { |  | ||||||
| /// #   run().unwrap(); |  | ||||||
| /// # } |  | ||||||
| /// ``` | /// ``` | ||||||
| #[derive(Clone)] | #[derive(Clone)] | ||||||
| pub struct Client { | pub struct Client { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user