summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-01-25 18:10:10 -0800
committerRyan Leckey <leckey.ryan@gmail.com>2017-01-25 18:10:10 -0800
commit7c696e6b457debb0faca4fdb0d55e3ed43773484 (patch)
tree7a88e8ea87b4b910b37f34910e94a20d71979f3b /src
parent0944c855d8382225dc083e392c77d7a8a93224e0 (diff)
:fire:
Diffstat (limited to 'src')
-rw-r--r--src/config.rs20
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()