summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authorFederico Pasqua <federico.pasqua.96@gmail.com>2020-03-14 15:46:36 +0100
committerFederico Pasqua <federico.pasqua.96@gmail.com>2020-03-14 16:01:54 +0100
commit57fb2610ad274dff1d2f2e4d43dfce05ca9c4835 (patch)
tree45e4c5c57df0eea23e8977de0984965d9a8a56b4 /src/config.rs
parent2c0b201055be60ec45e258adcc6c4b6e01bcd627 (diff)
General upgrade for clippy fix and remove of deprecated methods for errors
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index e54daa2..c093dae 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -18,7 +18,7 @@ enum ConfigKind {
Mutable {
defaults: HashMap<path::Expression, Value>,
overrides: HashMap<path::Expression, Value>,
- sources: Vec<Box<Source + Send + Sync>>,
+ sources: Vec<Box<dyn Source + Send + Sync>>,
},
// A frozen configuration.
@@ -212,7 +212,7 @@ impl Config {
}
impl Source for Config {
- fn clone_into_box(&self) -> Box<Source + Send + Sync> {
+ fn clone_into_box(&self) -> Box<dyn Source + Send + Sync> {
Box::new((*self).clone())
}