summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2023-10-06 15:04:30 +0200
committerMatthias Beyer <mail@beyermatthias.de>2023-10-06 16:09:51 +0200
commit1c9f282b47fd3b2545fa9fb612048d01e21e8ebf (patch)
tree714bf925c31347d0db21f1848410da2680da70f9
parent4a530b8d4f270ff97acf1187e1e860fe5af09397 (diff)
Fix clippy: Remove redundant closures
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--tests/async_builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/async_builder.rs b/tests/async_builder.rs
index bead9d3..b91a1a3 100644
--- a/tests/async_builder.rs
+++ b/tests/async_builder.rs
@@ -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)
}
}