Skip to content

Commit 1c9f282

Browse files
committed
Fix clippy: Remove redundant closures
Signed-off-by: Matthias Beyer <[email protected]>
1 parent 4a530b8 commit 1c9f282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/async_builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl AsyncSource for AsyncFile {
3131

3232
self.format
3333
.parse(Some(&self.path), &text)
34-
.map_err(|e| ConfigError::Foreign(e))
34+
.map_err(ConfigError::Foreign)
3535
}
3636
}
3737

0 commit comments

Comments
 (0)