summaryrefslogtreecommitdiffstats
path: root/src/file/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file/mod.rs')
-rw-r--r--src/file/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file/mod.rs b/src/file/mod.rs
index 342d09b..ebe93bc 100644
--- a/src/file/mod.rs
+++ b/src/file/mod.rs
@@ -94,7 +94,7 @@ where
T: 'static,
T: Sync + Send,
{
- fn clone_into_box(&self) -> Box<Source + Send + Sync> {
+ fn clone_into_box(&self) -> Box<dyn Source + Send + Sync> {
Box::new((*self).clone())
}
@@ -120,8 +120,8 @@ where
format
.parse(uri.as_ref(), &contents)
.map_err(|cause| ConfigError::FileParse {
- uri: uri,
- cause: cause,
+ uri,
+ cause,
})
}
}