styling fix and clippy fixes
This commit is contained in:
1 parent
1364ff62b8
commit
4137f787bf
17 files changed
+123
-75
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user