NodeIndex should derive Show
.
This commit is contained in:
parent
be9c2d1381
commit
fef63e2f23
@ -55,7 +55,7 @@ pub struct Edge<E> {
|
|||||||
pub data: E,
|
pub data: E,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[deriving(PartialEq)]
|
#[deriving(PartialEq, Show)]
|
||||||
pub struct NodeIndex(pub uint);
|
pub struct NodeIndex(pub uint);
|
||||||
pub static InvalidNodeIndex: NodeIndex = NodeIndex(uint::MAX);
|
pub static InvalidNodeIndex: NodeIndex = NodeIndex(uint::MAX);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user