authorgravatar for moi@tdmm.euThe Depressed Milkman <moi@tdmm.eu> 2022-03-05 10:11:41+01:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-03-06 10:32:07+02:00
logcd43f323d28e66d11273425cc6debcce735c33e2
tree22e9cfb5a99aa37c198df4189188385bd682c029
parent72992b6513b3c6f5d8bd0abffe0d08a2a7d6e7cd

correct `@frameSize()` params in documentation

The documentation omitted the primary parameter, making it difficult to understand what this function actually does.

1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
...@@ -8664,7 +8664,7 @@ fn func() void {...@@ -8664,7 +8664,7 @@ fn func() void {
8664 {#header_close#}8664 {#header_close#}
86658665
8666 {#header_open|@frameSize#}8666 {#header_open|@frameSize#}
8667 <pre>{#syntax#}@frameSize() usize{#endsyntax#}</pre>8667 <pre>{#syntax#}@frameSize(func: anytype) usize{#endsyntax#}</pre>
8668 <p>8668 <p>
8669 This is the same as {#syntax#}@sizeOf(@Frame(func)){#endsyntax#}, where {#syntax#}func{#endsyntax#}8669 This is the same as {#syntax#}@sizeOf(@Frame(func)){#endsyntax#}, where {#syntax#}func{#endsyntax#}
8670 may be runtime-known.8670 may be runtime-known.