diff --git a/src/client/mod.rs b/src/client/mod.rs index 7387e92..5b72289 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -5,7 +5,7 @@ use std::marker::PhantomData; use hyper::{self, header, mime}; use rustc_serialize::json::Json; -use url::{self, form_urlencoded, Url}; +use url::{form_urlencoded, Url}; use error::OAuth2Error; use provider::Provider; @@ -88,7 +88,7 @@ impl Client

{ /// None /// ); /// ``` - pub fn auth_uri(&self, scope: Option<&str>, state: Option<&str>) -> Result + pub fn auth_uri(&self, scope: Option<&str>, state: Option<&str>) -> Result { let mut uri = try!(Url::parse(P::auth_uri()));