Fix loop patterns
This commit is contained in:
+1
-1
@@ -162,7 +162,7 @@ where
|
||||
G::Vertex: Debug,
|
||||
{
|
||||
let (graph, vertices, _, _) = G::standard();
|
||||
for v in vertices {
|
||||
for &v in &vertices {
|
||||
assert!(
|
||||
algorithms::dfs_find(&graph, vertices[0], v),
|
||||
"vertex {v:?} should be reachable from {:?}",
|
||||
|
||||
Reference in New Issue
Block a user