From 57fb2610ad274dff1d2f2e4d43dfce05ca9c4835 Mon Sep 17 00:00:00 2001 From: Federico Pasqua Date: Sat, 14 Mar 2020 15:46:36 +0100 Subject: General upgrade for clippy fix and remove of deprecated methods for errors --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/config.rs') 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, overrides: HashMap, - sources: Vec>, + sources: Vec>, }, // A frozen configuration. @@ -212,7 +212,7 @@ impl Config { } impl Source for Config { - fn clone_into_box(&self) -> Box { + fn clone_into_box(&self) -> Box { Box::new((*self).clone()) } -- cgit v1.2.3