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:
@@ -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>>
|
||||
|
||||
Reference in New Issue
Block a user