adjust proxy doc example
This commit is contained in:
		| @@ -13,13 +13,11 @@ use {into_url, IntoUrl, Url}; | |||||||
| /// | /// | ||||||
| /// For instance, let's look at `Proxy::http`: | /// For instance, let's look at `Proxy::http`: | ||||||
| /// | /// | ||||||
| /// ``` | /// ```rust | ||||||
| /// # extern crate reqwest; |  | ||||||
| /// # fn run() -> Result<(), Box<::std::error::Error>> { | /// # fn run() -> Result<(), Box<::std::error::Error>> { | ||||||
| /// let proxy = reqwest::Proxy::http("https://secure.example")?; | /// let proxy = reqwest::Proxy::http("https://secure.example")?; | ||||||
| /// # Ok(()) | /// # Ok(()) | ||||||
| /// # } | /// # } | ||||||
| /// # fn main() {} |  | ||||||
| /// ``` | /// ``` | ||||||
| /// | /// | ||||||
| /// This proxy will intercept all HTTP requests, and make use of the proxy | /// This proxy will intercept all HTTP requests, and make use of the proxy | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user