summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index c093dae..888d8cc 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -161,8 +161,7 @@ impl Config {
match value {
Some(value) => {
// Deserialize the received value into the requested type
- T::deserialize(value)
- .map_err(|e| e.extend_with_key(key))
+ T::deserialize(value).map_err(|e| e.extend_with_key(key))
}
None => Err(ConfigError::NotFound(key.into())),