Skip to content

Commit caca487

Browse files
committed
docs: fix signatures
1 parent 84f8121 commit caca487

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/src/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ When using these node constructors, types will automatically be promoted.
6060
You can convert the type of a node using `convert`:
6161

6262
```@docs
63-
convert(::Type{AbstractExpressionNode{T1}}, tree::AbstractExpressionNode{T2}) where {T1, T2}
63+
convert(::Type{N1}, tree::N2) where {T1,T2,D1,D2,N1<:AbstractExpressionNode{T1,D1},N2<:AbstractExpressionNode{T2,D2}}
6464
```
6565

6666
You can set a `tree` (in-place) with `set_node!`:

docs/src/utils.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ mapreduce(f::F, op::G, tree::AbstractNode; return_type, f_on_shared, break_shari
1515
any(f::F, tree::AbstractNode) where {F<:Function}
1616
all(f::F, tree::AbstractNode) where {F<:Function}
1717
map(f::F, tree::AbstractNode, result_type::Type{RT}=Nothing; break_sharing::Val=Val(false)) where {F<:Function,RT}
18-
convert(::Type{<:AbstractExpressionNode{T1}}, n::AbstractExpressionNode{T2}) where {T1,T2}
1918
hash(tree::AbstractExpressionNode{T}, h::UInt; break_sharing::Val=Val(false)) where {T}
2019
```
2120

0 commit comments

Comments
 (0)