Imply #no_capture to all variadic parameters

This commit is contained in:
gingerBill committed 2024-07-14 12:19:47 +01:00
1 parent 891cf54b5c
commit 8642d719f0
25 files changed
+125 -117

No files matched your search

+1 -1
View File
@@ -250,7 +250,7 @@ error :: proc(s: ^Scanner, msg: string) {
}
}
errorf :: proc(s: ^Scanner, format: string, #no_capture args: ..any) {
errorf :: proc(s: ^Scanner, format: string, args: ..any) {
error(s, fmt.tprintf(format, ..args))
}