Skip to content

Commit 7c82e8b

Browse files
authored
Merge pull request #209 from JuliaDiff/ox/rw-1
Remove redundant where from operator overloading docs
2 parents 76f2e85 + 13f90ac commit 7c82e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/autodiff/operator_overloading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ on_new_rule(frule, define_overload)
2727
or you might write:
2828
```julia
2929
const ACCEPT_TYPES = (Float64, AbstractMatrix{Float64})
30-
function define_overload(sig) where F
30+
function define_overload(sig)
3131
sig = Base.unwrap_unionall(sig) # not really handling most UnionAll,
3232
opT, argTs = Iterators.peel(sig.parameters)
3333
all(any(acceptT<: argT for acceptT in ACCEPT_TYPES) for argT in argTs) || return

0 commit comments

Comments
 (0)