Skip to content

Commit

Permalink
Fix clippy: Remove redundant closures
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
  • Loading branch information
matthiasbeyer committed Oct 6, 2023
1 parent 4a530b8 commit 1c9f282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/async_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl AsyncSource for AsyncFile {

self.format
.parse(Some(&self.path), &text)
.map_err(|e| ConfigError::Foreign(e))
.map_err(ConfigError::Foreign)
}
}

Expand Down

0 comments on commit 1c9f282

Please sign in to comment.