Skip to content

Commit 4e621b6

Browse files
committed
Use default instead of empty
1 parent 3495165 commit 4e621b6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rules/stdarg/ir_unsafe.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"t1": {
3-
"init": "VaList::empty()",
3+
"init": "VaList::default()",
44
"type": "VaList"
55
}
66
}

rules/stdarg/tgt_unsafe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use libcc2rs::VaList;
22

33
fn types() {
4-
let t1: VaList = VaList::empty();
4+
let t1: VaList = VaList::default();
55
}

0 commit comments

Comments
 (0)