File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ impl<'a> Graph<'a> {
131
131
}
132
132
133
133
/// Returns a list of nodes the given node index points to for the given kind.
134
- pub fn edges ( & self , from : usize , kind : & EdgeKind ) -> Vec < Edge > {
134
+ pub fn edges_of_kind ( & self , from : usize , kind : & EdgeKind ) -> Vec < Edge > {
135
135
let edges = self . edges [ from] . of_kind ( kind) ;
136
136
// Created a sorted list for consistent output.
137
137
let mut edges = edges. to_owned ( ) ;
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ fn print_dependencies<'a>(
383
383
print_stack : & mut Vec < usize > ,
384
384
kind : & EdgeKind ,
385
385
) {
386
- let deps = graph. edges ( node_index, kind) ;
386
+ let deps = graph. edges_of_kind ( node_index, kind) ;
387
387
if deps. is_empty ( ) {
388
388
return ;
389
389
}
You can’t perform that action at this time.
0 commit comments