Skip to content

Commit

Permalink
refactor(chain-ops): Use Option::is_some_and instead of `Option::ma…
Browse files Browse the repository at this point in the history
…p_or`.
  • Loading branch information
KirilMihaylov committed Jan 22, 2025
1 parent 4b3c570 commit 58ace24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl TestCase {
.len()
.checked_sub(usize::from(minimal_exponent))
.and_then(|end| trimmed.get(..end))
.map_or(false, greater_than_max_quote_value)
.is_some_and(greater_than_max_quote_value)
{
None
} else {
Expand Down

0 comments on commit 58ace24

Please sign in to comment.