Skip to content

Commit

Permalink
refac: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sayon committed Jan 10, 2025
1 parent 4c0aef2 commit 1387471
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler_tester/src/compilers/mode/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ impl Mode {
}
}

current = current.replace(' ',"");
current = current.replace(' ', "");
current
}
}
Expand Down
5 changes: 4 additions & 1 deletion compiler_tester/src/filters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ impl Filters {
path_filters: path_filters.into_iter().collect(),
// Mode filters are stripped of spaces so filters like "Y+M3B3
// 0.2.1 " and "Y +M3B3 0.2.1" become equivalent
mode_filters: mode_filters.into_iter().map(|f| f.replace(' ', "")).collect(),
mode_filters: mode_filters
.into_iter()
.map(|f| f.replace(' ', ""))
.collect(),
group_filters: group_filters.into_iter().collect(),
}
}
Expand Down

0 comments on commit 1387471

Please sign in to comment.