Skip to content

Commit fef63e2

Browse files
committed
NodeIndex should derive Show.
1 parent be9c2d1 commit fef63e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub struct Edge<E> {
5555
pub data: E,
5656
}
5757

58-
#[deriving(PartialEq)]
58+
#[deriving(PartialEq, Show)]
5959
pub struct NodeIndex(pub uint);
6060
pub static InvalidNodeIndex: NodeIndex = NodeIndex(uint::MAX);
6161

0 commit comments

Comments
 (0)