diff options
| author | The Depressed Milkman <moi@tdmm.eu> | 2022-03-05 10:11:41 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-03-06 10:32:07 +0200 |
| commit | cd43f323d28e66d11273425cc6debcce735c33e2 (patch) | |
| tree | 22e9cfb5a99aa37c198df4189188385bd682c029 | |
| parent | 72992b6513b3c6f5d8bd0abffe0d08a2a7d6e7cd (diff) | |
| download | zig-cd43f323d28e66d11273425cc6debcce735c33e2.tar.gz zig-cd43f323d28e66d11273425cc6debcce735c33e2.zip | |
correct `@frameSize()` params in documentation
The documentation omitted the primary parameter, making it difficult to
understand what this function actually does.
| -rw-r--r-- | doc/langref.html.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index df8f21fe3c..f496019838 100644 --- 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. |
