Remove dead code in configuration.rs

This commit is contained in:
Matthias Beyer 2016-03-21 19:40:56 +01:00
parent a4c820d308
commit af161394ad

View file

@ -47,10 +47,6 @@ pub fn config_is_valid(config: &Option<Value>) -> bool {
return true;
}
fn has_key_with_map(v: &BTreeMap<String, Value>, key: &str) -> bool {
v.get(key).map(|t| match t { &Value::Table(_) => true, _ => false }).unwrap_or(false)
}
fn has_key_with_string_ary(v: &BTreeMap<String, Value>, key: &str) -> bool {
v.get(key)
.map(|t| match t {