commit cd43f323d28e66d11273425cc6debcce735c33e2 (tree)
parent 72992b6513b3c6f5d8bd0abffe0d08a2a7d6e7cd
Author: The Depressed Milkman <moi@tdmm.eu>
Date: Sat, 5 Mar 2022 10:11:41 +0100
correct `@frameSize()` params in documentation
The documentation omitted the primary parameter, making it difficult to
understand what this function actually does.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
@@ -8664,7 +8664,7 @@ fn func() void {
{#header_close#}
{#header_open|@frameSize#}
- <pre>{#syntax#}@frameSize() usize{#endsyntax#}</pre>
+ <pre>{#syntax#}@frameSize(func: anytype) usize{#endsyntax#}</pre>
<p>
This is the same as {#syntax#}@sizeOf(@Frame(func)){#endsyntax#}, where {#syntax#}func{#endsyntax#}
may be runtime-known.