Skip to content

Commit

Permalink
Fix new clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Sep 9, 2024
1 parent aeca07b commit 1ee344f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/relayer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl PartialOrd for GasPrice {
/// the parsing of other prices.
pub fn parse_gas_prices(prices: String) -> Vec<GasPrice> {
prices
.split(|c| c == ',' || c == ';')
.split([',', ';'])
.filter_map(|gp| GasPrice::from_str(gp).ok())
.collect()
}
Expand Down

0 comments on commit 1ee344f

Please sign in to comment.