Fix loop patterns

This commit is contained in:
2026-10-15 08:45:18 +02:00
parent 653cd39279
commit eab5a63e6c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 {:?}",