Remove dead code in configuration.rs
This commit is contained in:
parent
a4c820d308
commit
af161394ad
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue