[snowpatch] [PATCH] settings: remove unnecessary import and associated warning
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Wed Apr 20 14:26:16 AEST 2016
Remove the unused toml::Decoder import - we reference it explicitly, which
is better.
Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
---
This fixes building on rustc 1.7+ (as we have #![deny(warnings)] on).
---
src/settings.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/settings.rs b/src/settings.rs
index 77e5e11..904370d 100644
--- a/src/settings.rs
+++ b/src/settings.rs
@@ -15,7 +15,7 @@
//
use toml;
-use toml::{Parser, Value, Decoder};
+use toml::{Parser, Value};
use git2::{Repository, Error};
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com IBM Australia Limited
More information about the snowpatch
mailing list