Commit 0a8b7ad368

Techatrix <19954306+Techatrix@users.noreply.github.com>
2023-01-11 00:02:29
langref: fix unclosed and lonely tag (#14250)
1 parent 24d8d12
Changed files (1)
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>