Skip to content

Commit 76442fc

Browse files
tfiersLilithHafner
authored andcommitted
Docstring of |>: add parentheses around -> func (JuliaLang#43699)
1 parent 2dd806e commit 76442fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/operators.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ Applies a function to the preceding argument. This allows for easy function chai
952952
953953
# Examples
954954
```jldoctest
955-
julia> [1:5;] |> x->x.^2 |> sum |> inv
955+
julia> [1:5;] |> (x->x.^2) |> sum |> inv
956956
0.01818181818181818
957957
```
958958
"""

0 commit comments

Comments
 (0)