styling fix and clippy fixes

This commit is contained in:
Samuel Onoja committed 2026-10-01 08:59:00 +01:00
1 parent 1364ff62b8
commit 4137f787bf
17 files changed
+123 -75

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ fn crossed(barrier: &Barrier, edge: Edge, from: (f64, f64), to: (f64, f64)) -> O
} else {
from.0 + (to.0 - from.0) * fraction
};
(fraction >= 0.0 && fraction <= 1.0 && along >= start && along < end).then_some(fraction)
((0.0..=1.0).contains(&fraction) && along >= start && along < end).then_some(fraction)
}
struct Session {