about summary refs log tree commit diff
path: root/src/librustc_data_structures/graph/implementation
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-10-20 15:54:53 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2019-10-21 20:59:18 +1100
commitac6daed384d17abd31f84fc8205c21eee6a248be (patch)
tree1b65f9ba48504a77ce640669baa10e8f8fb283c1 /src/librustc_data_structures/graph/implementation
parentc3b3a861244f5e61d5912ba507e229d978ec1c1c (diff)
downloadrust-ac6daed384d17abd31f84fc8205c21eee6a248be.tar.gz
rust-ac6daed384d17abd31f84fc8205c21eee6a248be.zip
Remove many unnecessary trait derivations.
Diffstat (limited to 'src/librustc_data_structures/graph/implementation')
-rw-r--r--src/librustc_data_structures/graph/implementation/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_data_structures/graph/implementation/mod.rs b/src/librustc_data_structures/graph/implementation/mod.rs
index c438a8558a7..9fdcea6df88 100644
--- a/src/librustc_data_structures/graph/implementation/mod.rs
+++ b/src/librustc_data_structures/graph/implementation/mod.rs
@@ -60,10 +60,10 @@ impl<N> SnapshotVecDelegate for Edge<N> {
     fn reverse(_: &mut Vec<Edge<N>>, _: ()) {}
 }
 
-#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
+#[derive(Copy, Clone, PartialEq, Debug)]
 pub struct NodeIndex(pub usize);
 
-#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
+#[derive(Copy, Clone, PartialEq, Debug)]
 pub struct EdgeIndex(pub usize);
 
 pub const INVALID_EDGE_INDEX: EdgeIndex = EdgeIndex(usize::MAX);