From 9631b31bfca0712353d728169b670e497b6dbbe6 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Thu, 26 Oct 2017 15:30:55 -0700 Subject: [PATCH] adjust proxy doc example --- src/proxy.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/proxy.rs b/src/proxy.rs index 65b8d43..9739cca 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -13,13 +13,11 @@ use {into_url, IntoUrl, Url}; /// /// For instance, let's look at `Proxy::http`: /// -/// ``` -/// # extern crate reqwest; +/// ```rust /// # fn run() -> Result<(), Box<::std::error::Error>> { /// let proxy = reqwest::Proxy::http("https://secure.example")?; /// # Ok(()) /// # } -/// # fn main() {} /// ``` /// /// This proxy will intercept all HTTP requests, and make use of the proxy