File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1010#![ forbid( unsafe_code) ]
1111#![ warn( missing_docs) ]
1212
13- extern crate petgraph as pg;
13+ pub extern crate petgraph;
14+ use petgraph as pg;
1415
15-
16- pub use pg as petgraph;
17- pub use pg:: graph:: NodeIndex ;
18- use pg:: graph:: { DefIndex , IndexType } ;
16+ pub use petgraph:: graph:: NodeIndex ;
17+ use petgraph:: graph:: { DefIndex , IndexType } ;
1918
2019
2120/// The PetGraph to be used internally within the RoseTree for storing/managing nodes and edges.
@@ -89,7 +88,7 @@ pub struct WalkSiblings<Ix: IndexType> {
8988pub const ROOT : usize = 0 ;
9089
9190
92- impl < N , Ix = DefIndex > RoseTree < N , Ix > where Ix : IndexType {
91+ impl < N , Ix > RoseTree < N , Ix > where Ix : IndexType {
9392
9493 /// Create a new `RoseTree` along with some root node.
9594 /// Returns both the `RoseTree` and an index into the root node in a tuple.
You can’t perform that action at this time.
0 commit comments