Skip to content

Commit

Permalink
style: fit format
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Sep 18, 2024
1 parent b6d338f commit d8f28da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/compiler/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,7 @@ impl ReportBuilder {
// Remove footers where text is None.
let footers = footers
.into_iter()
.filter_map(|(level, text)| {
text.map(|text| (level, text))
})
.filter_map(|(level, text)| text.map(|text| (level, text)))
.collect();

Report {
Expand Down

0 comments on commit d8f28da

Please sign in to comment.