refactor: use `is_some_and`
Uses the new Rust 1.70 feature to remove some of the nested if let Some()
. This makes the code easier to read, as the reader no longer has to deal with and keep track of nested if statements.
Uses the new Rust 1.70 feature to remove some of the nested if let Some()
. This makes the code easier to read, as the reader no longer has to deal with and keep track of nested if statements.