Skip to content

Commit 16dd291

Browse files
committed
cargo clippy --fix
1 parent 33f0970 commit 16dd291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/dart_symbol_map/upload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub(super) fn execute(args: DartSymbolMapUploadArgs) -> Result<()> {
9090
serde_json::from_slice(mapping_file_bytes.as_ref())
9191
.context("Invalid dartsymbolmap: expected a JSON array of strings")?;
9292

93-
if mapping_entries.len() % 2 != 0 {
93+
if !mapping_entries.len().is_multiple_of(2) {
9494
bail!(
9595
"Invalid dartsymbolmap: expected an even number of entries, got {}",
9696
mapping_entries.len()

0 commit comments

Comments
 (0)