Skip to content

Commit d34d317

Browse files
authored
deprecations.jl: depwarn -> Base.depwarn
1 parent b6b3569 commit d34d317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deprecations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ end
3535
Zeros(args...) = Zeros() # was used both Dense(10, 2, initb = Zeros) and Dense(rand(2,10), Zeros())
3636

3737
function Optimise.update!(x::AbstractArray, x̄)
38-
depwarn("`Flux.Optimise.update!(x, x̄)` was not used internally and has been removed. Please write `x .-= x̄` instead.", :update!)
38+
Base.depwarn("`Flux.Optimise.update!(x, x̄)` was not used internally and has been removed. Please write `x .-= x̄` instead.", :update!)
3939
x .-=
4040
end
4141

0 commit comments

Comments
 (0)