diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-03-21 01:58:25 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-07-14 14:56:57 +0300 |
| commit | 4d1a30c92b50c5965ed26449758fca81bee15747 (patch) | |
| tree | ad1638de488e3f30ce91f7e7443b0b7891003a0b /src/libserialize | |
| parent | 0a8275f8b677304458c6161e26436dfe67ab766b (diff) | |
| download | rust-4d1a30c92b50c5965ed26449758fca81bee15747.tar.gz rust-4d1a30c92b50c5965ed26449758fca81bee15747.zip | |
Remove most of `PartialEq` impls from AST and HIR structures
Diffstat (limited to 'src/libserialize')
| -rw-r--r-- | src/libserialize/collection_impls.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserialize/collection_impls.rs b/src/libserialize/collection_impls.rs index 3a05cb7187d..da705081ff3 100644 --- a/src/libserialize/collection_impls.rs +++ b/src/libserialize/collection_impls.rs @@ -67,7 +67,7 @@ impl<T:Decodable> Decodable for VecDeque<T> { impl< K: Encodable + PartialEq + Ord, - V: Encodable + PartialEq + V: Encodable > Encodable for BTreeMap<K, V> { fn encode<S: Encoder>(&self, e: &mut S) -> Result<(), S::Error> { e.emit_map(self.len(), |e| { @@ -84,7 +84,7 @@ impl< impl< K: Decodable + PartialEq + Ord, - V: Decodable + PartialEq + V: Decodable > Decodable for BTreeMap<K, V> { fn decode<D: Decoder>(d: &mut D) -> Result<BTreeMap<K, V>, D::Error> { d.read_map(|d, len| { |
