diff --git a/base/operators.jl b/base/operators.jl index 24190aad05691..de5e52987a278 100644 --- a/base/operators.jl +++ b/base/operators.jl @@ -905,7 +905,7 @@ When used with anonymous functions, parentheses are typically required around th # Examples ```jldoctest -julia> [1:5;] |> (x->x.^2) |> sum |> inv +julia> [1:5;] .|> (x -> x^2) |> sum |> inv 0.01818181818181818 ``` """