chore(stability): remove core feature gate
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| use std::any::Any; | ||||
| use std::fmt; | ||||
| use std::str::{FromStr, from_utf8}; | ||||
| use std::ops::{Deref, DerefMut}; | ||||
| use std::marker::Reflect; | ||||
| use serialize::base64::{ToBase64, FromBase64, Standard, Config, Newline}; | ||||
| use header::{Header, HeaderFormat}; | ||||
|  | ||||
| @@ -23,7 +23,7 @@ impl<S: Scheme> DerefMut for Authorization<S> { | ||||
|     } | ||||
| } | ||||
|  | ||||
| impl<S: Scheme + Reflect + 'static> Header for Authorization<S> where <S as FromStr>::Err: 'static { | ||||
| impl<S: Scheme + Any> Header for Authorization<S> where <S as FromStr>::Err: 'static { | ||||
|     fn header_name() -> &'static str { | ||||
|         "Authorization" | ||||
|     } | ||||
| @@ -44,7 +44,7 @@ impl<S: Scheme + Reflect + 'static> Header for Authorization<S> where <S as From | ||||
|     } | ||||
| } | ||||
|  | ||||
| impl<S: Scheme + Reflect + 'static> HeaderFormat for Authorization<S> where <S as FromStr>::Err: 'static { | ||||
| impl<S: Scheme + Any> HeaderFormat for Authorization<S> where <S as FromStr>::Err: 'static { | ||||
|     fn fmt_header(&self, fmt: &mut fmt::Formatter) -> fmt::Result { | ||||
|         match Scheme::scheme(None::<S>) { | ||||
|             Some(scheme) => try!(write!(fmt, "{} ", scheme)), | ||||
| @@ -71,7 +71,7 @@ impl Scheme for String { | ||||
|     } | ||||
|  | ||||
|     fn fmt_scheme(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||||
| 		write!(f, "{}", self) | ||||
|         write!(f, "{}", self) | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user