diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2017-01-25 18:10:10 -0800 |
---|---|---|
committer | Ryan Leckey <leckey.ryan@gmail.com> | 2017-01-25 18:10:10 -0800 |
commit | 7c696e6b457debb0faca4fdb0d55e3ed43773484 (patch) | |
tree | 7a88e8ea87b4b910b37f34910e94a20d71979f3b | |
parent | 0944c855d8382225dc083e392c77d7a8a93224e0 (diff) |
:fire:
-rw-r--r-- | src/config.rs | 20 |
1 files changed, 0 insertions, 20 deletions
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<HashMap<String, Value>>, } -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() |