about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2014-05-21 14:48:03 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2014-06-18 16:36:25 +0200
commitfef63e2f237ea016b367c97dca50f35ab68c5164 (patch)
tree0c4858567b4757d7b3467c26e50869862a1f3281 /src
parentbe9c2d13815eb9aa1b6213a46542aa4262127643 (diff)
downloadrust-fef63e2f237ea016b367c97dca50f35ab68c5164.tar.gz
rust-fef63e2f237ea016b367c97dca50f35ab68c5164.zip
NodeIndex should derive `Show`.
Diffstat (limited to 'src')
-rw-r--r--src/librustc/middle/graph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/graph.rs b/src/librustc/middle/graph.rs
index e3a89fe2525..3d5e4b167a3 100644
--- a/src/librustc/middle/graph.rs
+++ b/src/librustc/middle/graph.rs
@@ -55,7 +55,7 @@ pub struct Edge<E> {
     pub data: E,
 }
 
-#[deriving(PartialEq)]
+#[deriving(PartialEq, Show)]
 pub struct NodeIndex(pub uint);
 pub static InvalidNodeIndex: NodeIndex = NodeIndex(uint::MAX);