Skip to content

Commit

Permalink
NodeIndex should derive Show.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Jun 16, 2014
1 parent ef0990a commit cf1b5bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/middle/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cf1b5bf

Please sign in to comment.