diff --git a/rust/31_graph/graph_search.rs b/rust/31_graph/graph_search.rs index 3b9bd56..ad05d4c 100644 --- a/rust/31_graph/graph_search.rs +++ b/rust/31_graph/graph_search.rs @@ -56,7 +56,12 @@ impl Graph { self.draw(&prev, s, t); } - fn recur_dfs(&self, s: i32, t: i32, visited: &mut Vec, prev: &mut Vec, found: &mut bool) { + fn recur_dfs(&self, + s: i32, + t: i32, + visited: &mut Vec, + prev: &mut Vec, + found: &mut bool) { if *found == true { return; } visited[s as usize] = true; if s == t {