Remove dead code

This commit is contained in:
Aleksey Kladov 2020-11-17 12:19:04 +01:00
parent 0d19ee1d70
commit db218006c9

View file

@ -41,12 +41,6 @@ impl CfgOptions {
self.enabled.insert(CfgAtom::KeyValue { key, value }); self.enabled.insert(CfgAtom::KeyValue { key, value });
} }
pub fn append(&mut self, other: &CfgOptions) {
for atom in &other.enabled {
self.enabled.insert(atom.clone());
}
}
pub fn apply_diff(&mut self, diff: CfgDiff) { pub fn apply_diff(&mut self, diff: CfgDiff) {
for atom in diff.enable { for atom in diff.enable {
self.enabled.insert(atom); self.enabled.insert(atom);