Remove collections trait implementations.

Rust has removed them due to collections reform RFC:

RFC: https://github.com/rust-lang/rfcs/pull/235/files
Commit:
21ac985af4
This commit is contained in:
Jamie Turner
2014-11-03 18:30:16 -08:00
parent 7478f3dfd6
commit bef7da153c

View File

@@ -303,18 +303,6 @@ impl<'a> fmt::Show for HeaderView<'a> {
}
}
impl Collection for Headers {
fn len(&self) -> uint {
self.data.len()
}
}
impl Mutable for Headers {
fn clear(&mut self) {
self.data.clear()
}
}
struct Item {
raw: Option<Vec<Vec<u8>>>,
typed: Option<Box<HeaderFormat + Send + Sync>>