authorgravatar for gemmaro.dev@gmail.comgemmaro <gemmaro.dev@gmail.com> 2026-05-30 16:20:07+09:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-31 09:15:44+02:00
logcbc62662046c321bbdbb9315a3658ee50234033f
tree87f596686cfc5077cc70dbcd810c90cec925e376
parentbb1b898147ddc9dba4232ea850f372b80d2ed8d8

langref: Use syntax tag instead of backquotes


1 files changed, 2 insertions(+), 2 deletions(-)

doc/langref.html.in+2-2
......@@ -814,7 +814,7 @@
814814 <p>
815815 A destructuring expression may only appear within a block (i.e. not at {#link|Namespace#} scope).
816816 The left hand side of the assignment must consist of a comma separated list,
817 each element of which may be either an lvalue (for instance, an existing `var`) or a variable declaration:
817 each element of which may be either an lvalue (for instance, an existing {#syntax#}var{#endsyntax#}) or a variable declaration:
818818 </p>
819819 {#code|destructuring_mixed.zig#}
820820
......@@ -1917,7 +1917,7 @@ or
19171917 </p>
19181918 <p>
19191919 Vectors generally support the same builtin operators as their underlying base types.
1920 The only exception to this is the keywords `and` and `or` on vectors of bools, since
1920 The only exception to this is the keywords {#syntax#}and{#endsyntax#} and {#syntax#}or{#endsyntax#} on vectors of bools, since
19211921 these operators affect control flow, which is not allowed for vectors.
19221922 All other operations are performed element-wise, and return a vector of the same length
19231923 as the input vectors. This includes: