diff options
| author | est31 <MTest31@outlook.com> | 2017-01-29 06:07:45 +0100 |
|---|---|---|
| committer | est31 <MTest31@outlook.com> | 2017-01-29 06:07:45 +0100 |
| commit | 7ed78fcbdf3648403ff9811e36c10b96bf49b93f (patch) | |
| tree | 1e61bd98f2d0e27c7e4eacfbeaf3409e3fe408e0 /src/librustc_data_structures/array_vec.rs | |
| parent | 0f49616a53465d3ee7a7069cd13c7f86a483b655 (diff) | |
| download | rust-7ed78fcbdf3648403ff9811e36c10b96bf49b93f.tar.gz rust-7ed78fcbdf3648403ff9811e36c10b96bf49b93f.zip | |
Remove dead recursive partial eq impl
Its nowhere used (if it had been used used, the rust stack would have overflown due to the recursion). Its presence was confusing for mrustc.
Diffstat (limited to 'src/librustc_data_structures/array_vec.rs')
| -rw-r--r-- | src/librustc_data_structures/array_vec.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/librustc_data_structures/array_vec.rs b/src/librustc_data_structures/array_vec.rs index c0b5b7f5173..51e6e09ab50 100644 --- a/src/librustc_data_structures/array_vec.rs +++ b/src/librustc_data_structures/array_vec.rs @@ -52,14 +52,6 @@ impl<A> Hash for ArrayVec<A> } } -impl<A: Array> PartialEq for ArrayVec<A> { - fn eq(&self, other: &Self) -> bool { - self == other - } -} - -impl<A: Array> Eq for ArrayVec<A> {} - impl<A> Clone for ArrayVec<A> where A: Array, A::Element: Clone { |
