diff --git a/tests/async_builder.rs b/tests/async_builder.rs index bead9d38..b91a1a3b 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) } }