zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit aea29afc448d8d93ca19e860c0c0b47c462e56a4 (tree)
parent f8666d748d57c5a71cfb2ae2a9eb1209fcee6e81
Author: Wooster <wooster0@proton.me>
Date:   Sun, 23 Jul 2023 20:24:32 +0200

langref: update docs for ** and ++

This behavior changed with https://github.com/ziglang/zig/issues/7147

Diffstat:
Mdoc/langref.html.in | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -2286,7 +2286,7 @@ value == null{#endsyntax#}</pre> <td> Array concatenation. <ul> - <li>Only available when {#syntax#}a{#endsyntax#} and {#syntax#}b{#endsyntax#} are {#link|compile-time known|comptime#}.</li> + <li>Only available when the lengths of both {#syntax#}a{#endsyntax#} and {#syntax#}b{#endsyntax#} are {#link|compile-time known|comptime#}.</li> </ul> </td> <td> @@ -2307,7 +2307,7 @@ mem.eql(u32, &together, &[_]u32{1,2,3,4}){#endsyntax#}</pre> <td> Array multiplication. <ul> - <li>Only available when {#syntax#}a{#endsyntax#} and {#syntax#}b{#endsyntax#} are {#link|compile-time known|comptime#}.</li> + <li>Only available when the length of {#syntax#}a{#endsyntax#} and {#syntax#}b{#endsyntax#} are {#link|compile-time known|comptime#}.</li> </ul> </td> <td>