From de1f7188eb5026ce86ea3e01ee2a1a506e8b663f Mon Sep 17 00:00:00 2001 From: Tomohiro Date: Sat, 15 Jun 2024 11:34:26 +0900 Subject: [PATCH] Fix example code in Nim manual that cannot be compiled without error (#23722) --- doc/manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual.md b/doc/manual.md index bb7b603a8580..16c116328ac3 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -8703,7 +8703,7 @@ after the last specified parameter. Nim string values will be converted to C strings automatically: ```Nim - proc printf(formatstr: cstring) {.nodecl, varargs.} + proc printf(formatstr: cstring) {.header: "", varargs.} printf("hallo %s", "world") # "world" will be passed as C string ```