From db218006c928d8de6e31f6faae4bbb21c33ba4eb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 17 Nov 2020 12:19:04 +0100 Subject: [PATCH] Remove dead code --- crates/cfg/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/cfg/src/lib.rs b/crates/cfg/src/lib.rs index d0e08cf5f7..d88ecf8b09 100644 --- a/crates/cfg/src/lib.rs +++ b/crates/cfg/src/lib.rs @@ -41,12 +41,6 @@ impl CfgOptions { 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) { for atom in diff.enable { self.enabled.insert(atom);