Debugging

This commit is contained in:
Sam Hedin 2020-06-04 05:31:37 +02:00
parent 6e72386360
commit fe4a51eef4
2 changed files with 1 additions and 5 deletions

View File

@ -133,7 +133,7 @@ impl Environment {
tag: _,
}) = &mut self.environment_vars
{
envs.remove_key(key);
envs.entries.remove(key);
}
}

View File

@ -159,10 +159,6 @@ impl Dictionary {
self.entries.contains_key(key)
}
pub fn remove_key(&mut self, key: &str) -> Option<Value> {
self.entries.remove(key)
}
/// Find the matching Value for a key, if possible
pub fn get_data_by_key(&self, name: Spanned<&str>) -> Option<Value> {
let result = self