From db218006c928d8de6e31f6faae4bbb21c33ba4eb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 17 Nov 2020 12:19:04 +0100 Subject: Remove dead code --- crates/cfg/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crates') diff --git a/crates/cfg/src/lib.rs b/crates/cfg/src/lib.rs index d0e08cf5f..d88ecf8b0 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); -- cgit v1.2.3