From fef63e2f237ea016b367c97dca50f35ab68c5164 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Wed, 21 May 2014 14:48:03 +0200 Subject: [PATCH] NodeIndex should derive `Show`. --- src/librustc/middle/graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { pub data: E, } -#[deriving(PartialEq)] +#[deriving(PartialEq, Show)] pub struct NodeIndex(pub uint); pub static InvalidNodeIndex: NodeIndex = NodeIndex(uint::MAX);