mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Remove dead code
This commit is contained in:
parent
0d19ee1d70
commit
db218006c9
1 changed files with 0 additions and 6 deletions
|
@ -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 a new issue