aboutsummaryrefslogtreecommitdiff
path: root/doc/langref.html.in
diff options
context:
space:
mode:
authorTechatrix <19954306+Techatrix@users.noreply.github.com>2023-01-10 23:02:29 +0000
committerGitHub <noreply@github.com>2023-01-10 18:02:29 -0500
commit0a8b7ad368ac3933048614a87f0398b5e4768acc (patch)
tree805679cc643c7923af9eb18e0a878e25026e3a34 /doc/langref.html.in
parent24d8d12caf05e52fe938d1eb01211b2470cffb41 (diff)
downloadzig-0a8b7ad368ac3933048614a87f0398b5e4768acc.tar.gz
zig-0a8b7ad368ac3933048614a87f0398b5e4768acc.zip
langref: fix unclosed and lonely tag (#14250)
Diffstat (limited to 'doc/langref.html.in')
-rw-r--r--doc/langref.html.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index b8b7d63ee0..2d4de8f7ce 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -5588,6 +5588,7 @@ test "createFoo" {
<p>
To ensure that {#syntax#}deallocateFoo{#endsyntax#} is properly called
when returning an error, you must add an {#syntax#}errdefer{#endsyntax#} outside of the block:
+ </p>
{#code_begin|test|test_errdefer_block#}
const std = @import("std");
const Allocator = std.mem.Allocator;
@@ -9411,8 +9412,9 @@ test "integer truncation" {
<li>{#link|Enum Literals#}</li>
<li>{#link|union#}</li>
</ul>
- <p>
+<p>
{#syntax#}@Type{#endsyntax#} is not available for {#link|Functions#}.
+ </p>
{#header_close#}
{#header_open|@typeInfo#}
<pre>{#syntax#}@typeInfo(comptime T: type) std.builtin.Type{#endsyntax#}</pre>