commit 810c03f4261990cd57e886f0b759688c8d2b8d2b (tree)
parent 0f4b893d6dd3b2cddb355858551851e1a1105c2e
Author: data-man <datamanrb@gmail.com>
Date: Sat, 7 Nov 2020 17:47:05 +0500
Fix reduce documentation
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
@@ -8215,8 +8215,7 @@ test "vector @splat" {
<pre>{#syntax#}@reduce(comptime op: builtin.ReduceOp, value: anytype) std.meta.Child(value){#endsyntax#}</pre>
<p>
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#}.
</p>
<p>
Not every operator is available for every vector element type: