mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +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 });
|
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) {
|
pub fn apply_diff(&mut self, diff: CfgDiff) {
|
||||||
for atom in diff.enable {
|
for atom in diff.enable {
|
||||||
self.enabled.insert(atom);
|
self.enabled.insert(atom);
|
||||||
|
|
Loading…
Reference in a new issue