We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c9f282 commit d8697a8Copy full SHA for d8697a8
examples/async_source/main.rs
@@ -68,7 +68,7 @@ impl<F: Format + Send + Sync + Debug> AsyncSource for HttpSource<F> {
68
.and_then(|text| {
69
self.format
70
.parse(Some(&self.uri), &text)
71
- .map_err(|e| ConfigError::Foreign(e))
+ .map_err(ConfigError::Foreign)
72
})
73
}
74
0 commit comments