From 7ed78fcbdf3648403ff9811e36c10b96bf49b93f Mon Sep 17 00:00:00 2001 From: est31 Date: Sun, 29 Jan 2017 06:07:45 +0100 Subject: 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. --- src/librustc_data_structures/array_vec.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/librustc_data_structures/array_vec.rs') 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 Hash for ArrayVec } } -impl PartialEq for ArrayVec { - fn eq(&self, other: &Self) -> bool { - self == other - } -} - -impl Eq for ArrayVec {} - impl Clone for ArrayVec where A: Array, A::Element: Clone { -- cgit 1.4.1-3-g733a5