authorgravatar for jonascarpay@gmail.comJonas Carpay <jonascarpay@gmail.com> 2020-11-04 02:37:28+09:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-11-11 19:13:52-07:00
log01a927a0cbc068a2174124ec6fe224200849dd3e
treeb4b8027594d7f48d3a73dea7bd6df87ec02de096
parent7d3c5f207a375b800ad67294a0caa434b887b66f

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>