From 7c696e6b457debb0faca4fdb0d55e3ed43773484 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Wed, 25 Jan 2017 18:10:10 -0800 Subject: :fire: --- src/config.rs | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index fcdc2e1..d0be21f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -16,26 +16,6 @@ pub struct Config { sources: Vec>, } -trait ConfigGetResult { - type Type; -} - -impl<'a> ConfigGetResult for &'a str { - type Type = Cow<'a, str>; -} - -impl ConfigGetResult for i64 { - type Type = i64; -} - -impl ConfigGetResult for f64 { - type Type = f64; -} - -impl ConfigGetResult for bool { - type Type = bool; -} - impl Config { pub fn new() -> Config { Default::default() -- cgit v1.2.3