correct @frameSize() params in documentation

The documentation omitted the primary parameter, making it difficult to
understand what this function actually does.
This commit is contained in:
The Depressed Milkman 2022-03-05 10:11:41 +01:00 committed by Veikka Tuominen
parent 72992b6513
commit cd43f323d2

View file

@ -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.