aboutsummaryrefslogtreecommitdiff
path: root/doc/langref.html.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/langref.html.in')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index fcf07eb6c1..c7a677bb8e 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -7475,7 +7475,7 @@ test "main" {
{#header_close#}
{#header_open|@errorName#}
- <pre>{#syntax#}@errorName(err: anyerror) []const u8{#endsyntax#}</pre>
+ <pre>{#syntax#}@errorName(err: anyerror) [:0]const u8{#endsyntax#}</pre>
<p>
This function returns the string representation of an error. The string representation
of {#syntax#}error.OutOfMem{#endsyntax#} is {#syntax#}"OutOfMem"{#endsyntax#}.