Skip to content

Commit 1863c0c

Browse files
bors[bot]matklad
andauthored
Merge #6578
6578: Simpify project_model r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 66bcdcb + e88b5fe commit 1863c0c

File tree

3 files changed

+246
-237
lines changed

3 files changed

+246
-237
lines changed

crates/cfg/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ impl CfgOptions {
4141
self.enabled.insert(CfgAtom::KeyValue { key, value });
4242
}
4343

44-
pub fn append(&mut self, other: &CfgOptions) {
45-
for atom in &other.enabled {
46-
self.enabled.insert(atom.clone());
47-
}
48-
}
49-
5044
pub fn apply_diff(&mut self, diff: CfgDiff) {
5145
for atom in diff.enable {
5246
self.enabled.insert(atom);

0 commit comments

Comments
 (0)