aboutsummaryrefslogtreecommitdiff
path: root/crates/cfg/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-11-17 11:19:04 +0000
committerAleksey Kladov <[email protected]>2020-11-17 14:25:57 +0000
commitdb218006c928d8de6e31f6faae4bbb21c33ba4eb (patch)
treeb28abaf6a52864d2ad6ffb60fc4f9606ffb6a0e7 /crates/cfg/src
parent0d19ee1d70cff2605cecd51c45945371c9cd1f58 (diff)
Remove dead code
Diffstat (limited to 'crates/cfg/src')
-rw-r--r--crates/cfg/src/lib.rs6
1 files changed, 0 insertions, 6 deletions
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 {
41 self.enabled.insert(CfgAtom::KeyValue { key, value }); 41 self.enabled.insert(CfgAtom::KeyValue { key, value });
42 } 42 }
43 43
44 pub fn append(&mut self, other: &CfgOptions) {
45 for atom in &other.enabled {
46 self.enabled.insert(atom.clone());
47 }
48 }
49
50 pub fn apply_diff(&mut self, diff: CfgDiff) { 44 pub fn apply_diff(&mut self, diff: CfgDiff) {
51 for atom in diff.enable { 45 for atom in diff.enable {
52 self.enabled.insert(atom); 46 self.enabled.insert(atom);