authorgravatar for jonascarpay@gmail.comJonas Carpay <jonascarpay@gmail.com> 2020-11-04 02:37:28+09:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2020-11-11 15:34:01+02:00
logc9dc30daf7b71c583963fd7564acf9ba299d9119
tree5fb3c6b2688911dc1e3ce38135b9f649989103ea
parentf0b1b74d214169a72cf5ae28d88637f20100bcad

Fix backticked code in langref


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

doc/langref.html.in+4-4
...@@ -7455,7 +7455,7 @@ test "main" {...@@ -7455,7 +7455,7 @@ test "main" {
7455 <p>7455 <p>
7456 If the binary is built with error return tracing, and this function is invoked in a7456 If the binary is built with error return tracing, and this function is invoked in a
7457 function that calls a function with an error or error union return type, returns a7457 function that calls a function with an error or error union return type, returns a
7458 stack trace object. Otherwise returns `null`.7458 stack trace object. Otherwise returns {#link|null#}.
7459 </p>7459 </p>
7460 {#header_close#}7460 {#header_close#}
74617461
...@@ -9446,17 +9446,17 @@ test "string literal to constant slice" {...@@ -9446,17 +9446,17 @@ test "string literal to constant slice" {
9446}9446}
9447 {#code_end#}9447 {#code_end#}
9448 <p>9448 <p>
9449 Just like string literals, `const` declarations, when the value is known at {#link|comptime#},9449 Just like string literals, {#syntax#}const{#endsyntax#} declarations, when the value is known at {#link|comptime#},
9450 are stored in the global constant data section. Also {#link|Compile Time Variables#} are stored9450 are stored in the global constant data section. Also {#link|Compile Time Variables#} are stored
9451 in the global constant data section.9451 in the global constant data section.
9452 </p>9452 </p>
9453 <p>9453 <p>
9454 `var` declarations inside functions are stored in the function's stack frame. Once a function returns,9454 {#syntax#}var{#endsyntax#} declarations inside functions are stored in the function's stack frame. Once a function returns,
9455 any {#link|Pointers#} to variables in the function's stack frame become invalid references, and9455 any {#link|Pointers#} to variables in the function's stack frame become invalid references, and
9456 dereferencing them becomes unchecked {#link|Undefined Behavior#}.9456 dereferencing them becomes unchecked {#link|Undefined Behavior#}.
9457 </p>9457 </p>
9458 <p>9458 <p>
9459 `var` declarations at the top level or in {#link|struct#} declarations are stored in the global9459 {#syntax#}var{#endsyntax#} declarations at the top level or in {#link|struct#} declarations are stored in the global
9460 data section.9460 data section.
9461 </p>9461 </p>
9462 <p>9462 <p>