Remove use of specialization in http.

This commit is contained in:
Sergio Benitez 2019-09-09 16:45:03 -07:00
parent 6ed4c098f1
commit 99a864008c
3 changed files with 0 additions and 15 deletions

View File

@ -1,4 +1,3 @@
#![feature(specialization)]
#![feature(proc_macro_hygiene)]
#![feature(crate_visibility_modifier)]
#![recursion_limit="512"]

View File

@ -401,13 +401,6 @@ impl AsRef<[u8]> for RawStr {
}
}
impl ToString for RawStr {
#[inline(always)]
fn to_string(&self) -> String {
String::from(self.as_str())
}
}
impl Deref for RawStr {
type Target = str;

View File

@ -277,13 +277,6 @@ impl<'s, 'c: 's> From<Cow<'c, str>> for Uncased<'s> {
}
}
impl<'s, 'c: 's, T: Into<Cow<'c, str>>> From<T> for Uncased<'s> {
#[inline(always)]
default fn from(string: T) -> Self {
Uncased::new(string)
}
}
impl<'b> PartialOrd<Uncased<'b>> for Uncased<'_> {
#[inline(always)]
fn partial_cmp(&self, other: &Uncased<'b>) -> Option<Ordering> {