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 ```