Clippy cleanup under green tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 12:03:26 +01:00
co-authored by Claude Opus 5.5
parent 12b1efbe1a
commit 7dafbbb993
9 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -44,10 +44,10 @@ pub fn classify(profile: &Profile) -> Style {
);
let loose = vpip.is_some_and(|v| v >= LOOSE_VPIP);
let sticky = fold.is_some_and(|b| b <= STATION_FOLD_TO_BET)
&& vpip.map_or(true, |v| v >= STATION_MIN_VPIP);
&& vpip.is_none_or(|v| v >= STATION_MIN_VPIP);
let tight = vpip.is_some_and(|v| v <= NIT_VPIP)
|| (fold.is_some_and(|b| b >= NIT_FOLD_TO_BET)
&& vpip.map_or(true, |v| v <= NIT_MAX_VPIP_WITH_FOLDS));
&& vpip.is_none_or(|v| v <= NIT_MAX_VPIP_WITH_FOLDS));
if vpip.is_none() && pfr.is_none() && fold.is_none() {
Style::Unknown
} else if loose && pfr.is_some_and(|f| f >= AGGRESSIVE_PFR) {