NodeIndex should derive Show.
This commit is contained in:
parent
be9c2d1381
commit
fef63e2f23
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue