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" {
74557455 <p>
74567456 If the binary is built with error return tracing, and this function is invoked in a
74577457 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#}.
74597459 </p>
74607460 {#header_close#}
74617461
......@@ -9446,17 +9446,17 @@ test "string literal to constant slice" {
94469446}
94479447 {#code_end#}
94489448 <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#},
94509450 are stored in the global constant data section. Also {#link|Compile Time Variables#} are stored
94519451 in the global constant data section.
94529452 </p>
94539453 <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,
94559455 any {#link|Pointers#} to variables in the function's stack frame become invalid references, and
94569456 dereferencing them becomes unchecked {#link|Undefined Behavior#}.
94579457 </p>
94589458 <p>
9459 `var` declarations at the top level or in {#link|struct#} declarations are stored in the global
9459 {#syntax#}var{#endsyntax#} declarations at the top level or in {#link|struct#} declarations are stored in the global
94609460 data section.
94619461 </p>
94629462 <p>