From 810c03f4261990cd57e886f0b759688c8d2b8d2b Mon Sep 17 00:00:00 2001 From: data-man Date: Sat, 7 Nov 2020 17:47:05 +0500 Subject: [PATCH] Fix reduce documentation --- doc/langref.html.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 819a1e7c8d..f0ce14b98a 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -8215,8 +8215,7 @@ test "vector @splat" {
{#syntax#}@reduce(comptime op: builtin.ReduceOp, value: anytype) std.meta.Child(value){#endsyntax#}

Transforms a {#link|vector|Vectors#} into a scalar value by performing a - sequential horizontal reduction of its elements using the specified - specified operator {#syntax#}op{#endsyntax#}. + sequential horizontal reduction of its elements using the specified operator {#syntax#}op{#endsyntax#}.

Not every operator is available for every vector element type: