refactor: enable clippy::manual_is_variant_and

This commit is contained in:
link2xt
2026-02-05 20:38:46 +00:00
committed by l
parent 983f43c33c
commit cc38298163
3 changed files with 5 additions and 6 deletions

View File

@@ -591,8 +591,7 @@ impl Context {
.get_config(key)
.await?
.and_then(|s| s.parse::<i32>().ok())
.map(|x| x != 0)
.unwrap_or_default())
.is_some_and(|x| x != 0))
}
/// Returns true if movebox ("DeltaChat" folder) should be watched.