Skip to content

Commit 0a8b7ad

Browse files
authored
langref: fix unclosed and lonely tag (#14250)
1 parent 24d8d12 commit 0a8b7ad

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

doc/langref.html.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5588,6 +5588,7 @@ test "createFoo" {
55885588
<p>
55895589
To ensure that {#syntax#}deallocateFoo{#endsyntax#} is properly called
55905590
when returning an error, you must add an {#syntax#}errdefer{#endsyntax#} outside of the block:
5591+
</p>
55915592
{#code_begin|test|test_errdefer_block#}
55925593
const std = @import("std");
55935594
const Allocator = std.mem.Allocator;
@@ -9411,8 +9412,9 @@ test "integer truncation" {
94119412
<li>{#link|Enum Literals#}</li>
94129413
<li>{#link|union#}</li>
94139414
</ul>
9414-
<p>
9415+
<p>
94159416
{#syntax#}@Type{#endsyntax#} is not available for {#link|Functions#}.
9417+
</p>
94169418
{#header_close#}
94179419
{#header_open|@typeInfo#}
94189420
<pre>{#syntax#}@typeInfo(comptime T: type) std.builtin.Type{#endsyntax#}</pre>

0 commit comments

Comments
 (0)