Skip to content

Commit

Permalink
Prefer unwrap_or(false) instead of .unwrap_or_default() for `bool…
Browse files Browse the repository at this point in the history
…` for clarity
  • Loading branch information
rafal-ch committed Dec 12, 2024
1 parent a30c1da commit 0175e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fuel-core/src/coins_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ fn skip_big_coins_up_to_amount(
current_dust_coins_value = new_value;
true
})
.unwrap_or_default()
.unwrap_or(false)
})
}

Expand Down

0 comments on commit 0175e41

Please sign in to comment.