chore: cargo clippy fix

This commit is contained in:
Denis Benato
2025-10-12 22:34:20 +02:00
parent 1c1daaa6d2
commit b0e1b21e4b
4 changed files with 7 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ impl AsusArmouryAttribute {
fn resolve_i32_value(refreshed: Option<i32>, cached: &AttrValue) -> i32 {
refreshed
.or_else(|| match cached {
.or(match cached {
AttrValue::Integer(i) => Some(*i),
_ => None,
})