File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 10
10
#![ forbid( unsafe_code) ]
11
11
#![ warn( missing_docs) ]
12
12
13
- extern crate petgraph as pg;
13
+ pub extern crate petgraph;
14
+ use petgraph as pg;
14
15
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 } ;
19
18
20
19
21
20
/// The PetGraph to be used internally within the RoseTree for storing/managing nodes and edges.
@@ -89,7 +88,7 @@ pub struct WalkSiblings<Ix: IndexType> {
89
88
pub const ROOT : usize = 0 ;
90
89
91
90
92
- impl < N , Ix = DefIndex > RoseTree < N , Ix > where Ix : IndexType {
91
+ impl < N , Ix > RoseTree < N , Ix > where Ix : IndexType {
93
92
94
93
/// Create a new `RoseTree` along with some root node.
95
94
/// 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