From bef7da153cfeada56ca8f8da823b559ef71138db Mon Sep 17 00:00:00 2001 From: Jamie Turner Date: Mon, 3 Nov 2014 18:30:16 -0800 Subject: [PATCH] Remove collections trait implementations. Rust has removed them due to collections reform RFC: RFC: https://github.com/rust-lang/rfcs/pull/235/files Commit: https://github.com/rust-lang/rust/commit/21ac985af44f4e2470ef6f4c0eb4d72daf5a6497 --- src/header/mod.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/header/mod.rs b/src/header/mod.rs index 307593e5..898be4f6 100644 --- a/src/header/mod.rs +++ b/src/header/mod.rs @@ -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>>, typed: Option>