diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-10-20 15:54:53 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-10-21 20:59:18 +1100 |
| commit | ac6daed384d17abd31f84fc8205c21eee6a248be (patch) | |
| tree | 1b65f9ba48504a77ce640669baa10e8f8fb283c1 /src/librustc_data_structures/thin_vec.rs | |
| parent | c3b3a861244f5e61d5912ba507e229d978ec1c1c (diff) | |
| download | rust-ac6daed384d17abd31f84fc8205c21eee6a248be.tar.gz rust-ac6daed384d17abd31f84fc8205c21eee6a248be.zip | |
Remove many unnecessary trait derivations.
Diffstat (limited to 'src/librustc_data_structures/thin_vec.rs')
| -rw-r--r-- | src/librustc_data_structures/thin_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/thin_vec.rs b/src/librustc_data_structures/thin_vec.rs index 93a8b7f525f..d97da489db8 100644 --- a/src/librustc_data_structures/thin_vec.rs +++ b/src/librustc_data_structures/thin_vec.rs @@ -3,7 +3,7 @@ use crate::stable_hasher::{StableHasher, HashStable}; /// A vector type optimized for cases where this size is usually 0 (cf. `SmallVector`). /// The `Option<Box<..>>` wrapping allows us to represent a zero sized vector with `None`, /// which uses only a single (null) pointer. -#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] +#[derive(Clone, RustcEncodable, RustcDecodable, Debug)] pub struct ThinVec<T>(Option<Box<Vec<T>>>); impl<T> ThinVec<T> { |
