summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
}
}