aboutsummaryrefslogtreecommitdiff
path: root/tests/documentation
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-14 12:19:47 +0100
committergingerBill <bill@gingerbill.org>2024-07-14 12:19:47 +0100
commit8642d719f0ece3625d535d47b41ff4d35072f47f (patch)
treeaec3708e44e3fe7085dea40b112aa4db08497f31 /tests/documentation
parent891cf54b5c56bd31bcfdac14f0b72d489999bffc (diff)
Imply `#no_capture` to all variadic parameters
Diffstat (limited to 'tests/documentation')
-rw-r--r--tests/documentation/documentation_tester.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/documentation/documentation_tester.odin b/tests/documentation/documentation_tester.odin
index 7fc37b9f0..8a798d6c5 100644
--- a/tests/documentation/documentation_tester.odin
+++ b/tests/documentation/documentation_tester.odin
@@ -51,7 +51,7 @@ common_prefix :: proc(strs: []string) -> string {
return prefix
}
-errorf :: proc(format: string, #no_capture args: ..any) -> ! {
+errorf :: proc(format: string, args: ..any) -> ! {
fmt.eprintf("%s ", os.args[0])
fmt.eprintf(format, ..args)
fmt.eprintln()