Skip to content

Commit baabb0a

Browse files
committed
Remove implementation for non-HashMap types
See #326 (comment)
1 parent 1fbb55b commit baabb0a

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/header/map.rs

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use std::{fmt, mem, ops, ptr, vec};
2-
use std::collections::{BTreeMap, HashMap};
2+
use std::collections::{HashMap};
33
use std::collections::hash_map::RandomState;
44
use std::hash::{BuildHasher, Hash, Hasher};
55
use std::iter::FromIterator;
@@ -1735,14 +1735,6 @@ impl<K, V, S> IntoHeaderMapAllowed for HashMap<K, V, S> {}
17351735

17361736
impl<'a, K, V, S> IntoHeaderMapAllowed for &'a HashMap<K, V, S> {}
17371737

1738-
impl<K, V> IntoHeaderMapAllowed for BTreeMap<K, V> {}
1739-
1740-
impl<'a, K, V> IntoHeaderMapAllowed for &'a BTreeMap<K, V> {}
1741-
1742-
impl<'a, T> IntoHeaderMapAllowed for &'a [T] {}
1743-
1744-
impl<T> IntoHeaderMapAllowed for Vec<T> {}
1745-
17461738
/// Convert a collection of tuples into a HeaderMap
17471739
///
17481740
/// # Examples

0 commit comments

Comments
 (0)