diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-05-21 14:48:03 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-06-18 16:36:25 +0200 |
| commit | fef63e2f237ea016b367c97dca50f35ab68c5164 (patch) | |
| tree | 0c4858567b4757d7b3467c26e50869862a1f3281 /src | |
| parent | be9c2d13815eb9aa1b6213a46542aa4262127643 (diff) | |
| download | rust-fef63e2f237ea016b367c97dca50f35ab68c5164.tar.gz rust-fef63e2f237ea016b367c97dca50f35ab68c5164.zip | |
NodeIndex should derive `Show`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/middle/graph.rs | 2 |
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); |
