Clippy cleanup under green tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,8 +12,8 @@ pub fn valid_allowed(spot: &Spot) -> Option<Vec<f64>> {
|
||||
s.is_finite()
|
||||
&& *s > 0.0
|
||||
&& *s <= spot.hero_stack
|
||||
&& spot.min_raise_to.map_or(true, |min| *s >= min)
|
||||
&& spot.max_raise_to.map_or(true, |max| *s <= max)
|
||||
&& spot.min_raise_to.is_none_or(|min| *s >= min)
|
||||
&& spot.max_raise_to.is_none_or(|max| *s <= max)
|
||||
})
|
||||
.collect();
|
||||
usable.sort_by(f64::total_cmp);
|
||||
|
||||
Reference in New Issue
Block a user