Fix clippy findings and related issues

This commit is contained in:
2026-10-13 21:25:50 +02:00
parent 7cfee9cce5
commit 3d1e8246a8
11 changed files with 179 additions and 254 deletions
+2 -2
View File
@@ -308,8 +308,8 @@ mod tests {
#[test]
fn opposite_symmetry() {
let (graph, ..) = FrozenGraph::standard();
for i in 0..graph.incidences.len() {
let opp = graph.incidences[i].opposite;
for (i, inc) in graph.incidences.iter().enumerate() {
let opp = inc.opposite;
assert_ne!(opp, i, "incidence should not equal its own opposite");
assert_eq!(
graph.incidences[opp].opposite, i,