aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJonas Carpay <jonascarpay@gmail.com>2020-11-04 02:37:28 +0900
committerVeikka Tuominen <git@vexu.eu>2020-11-11 15:34:01 +0200
commitc9dc30daf7b71c583963fd7564acf9ba299d9119 (patch)
tree5fb3c6b2688911dc1e3ce38135b9f649989103ea /doc
parentf0b1b74d214169a72cf5ae28d88637f20100bcad (diff)
downloadzig-c9dc30daf7b71c583963fd7564acf9ba299d9119.tar.gz
zig-c9dc30daf7b71c583963fd7564acf9ba299d9119.zip
Fix backticked code in langref
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index f0ce14b98a..e456ccb6da 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -7455,7 +7455,7 @@ test "main" {
<p>
If the binary is built with error return tracing, and this function is invoked in a
function that calls a function with an error or error union return type, returns a
- stack trace object. Otherwise returns `null`.
+ stack trace object. Otherwise returns {#link|null#}.
</p>
{#header_close#}
@@ -9446,17 +9446,17 @@ test "string literal to constant slice" {
}
{#code_end#}
<p>
- Just like string literals, `const` declarations, when the value is known at {#link|comptime#},
+ Just like string literals, {#syntax#}const{#endsyntax#} declarations, when the value is known at {#link|comptime#},
are stored in the global constant data section. Also {#link|Compile Time Variables#} are stored
in the global constant data section.
</p>
<p>
- `var` declarations inside functions are stored in the function's stack frame. Once a function returns,
+ {#syntax#}var{#endsyntax#} declarations inside functions are stored in the function's stack frame. Once a function returns,
any {#link|Pointers#} to variables in the function's stack frame become invalid references, and
dereferencing them becomes unchecked {#link|Undefined Behavior#}.
</p>
<p>
- `var` declarations at the top level or in {#link|struct#} declarations are stored in the global
+ {#syntax#}var{#endsyntax#} declarations at the top level or in {#link|struct#} declarations are stored in the global
data section.
</p>
<p>