Commit cd43f323d2

The Depressed Milkman <moi@tdmm.eu>
2022-03-05 10:11:41
correct `@frameSize()` params in documentation
The documentation omitted the primary parameter, making it difficult to understand what this function actually does.
1 parent 72992b6
Changed files (1)
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.