mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Remove dead code
This commit is contained in:
parent
0d19ee1d70
commit
db218006c9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user