Skip to content

Commit 4d206c9

Browse files
authored
Fix typo in ComposedFunction docstring (#48044)
1 parent a8adb39 commit 4d206c9

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
@@ -997,7 +997,7 @@ Represents the composition of two callable objects `outer::Outer` and `inner::In
997997
```julia
998998
ComposedFunction(outer, inner)(args...; kw...) === outer(inner(args...; kw...))
999999
```
1000-
The preferred way to construct instance of `ComposedFunction` is to use the composition operator [`∘`](@ref):
1000+
The preferred way to construct an instance of `ComposedFunction` is to use the composition operator [`∘`](@ref):
10011001
```jldoctest
10021002
julia> sin ∘ cos === ComposedFunction(sin, cos)
10031003
true

0 commit comments

Comments
 (0)