From c80b780760eedaef1f00237b145c95599f315008 Mon Sep 17 00:00:00 2001 From: Ophir LOJKINE Date: Tue, 23 Jul 2019 15:44:46 +0200 Subject: [PATCH] Remove implementation for non-HashMap types See https://github.com/hyperium/http/pull/326#issuecomment-511032065 --- src/header/map.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/header/map.rs b/src/header/map.rs index e9ee7cab..5407b77f 100644 --- a/src/header/map.rs +++ b/src/header/map.rs @@ -1735,14 +1735,6 @@ impl IntoHeaderMapAllowed for HashMap {} impl<'a, K, V, S> IntoHeaderMapAllowed for &'a HashMap {} -impl IntoHeaderMapAllowed for BTreeMap {} - -impl<'a, K, V> IntoHeaderMapAllowed for &'a BTreeMap {} - -impl<'a, T> IntoHeaderMapAllowed for &'a [T] {} - -impl IntoHeaderMapAllowed for Vec {} - /// Convert a collection of tuples into a HeaderMap /// /// # Examples