Skip to content

Commit 6b369fb

Browse files
authored
Apply suggestions from code review
1 parent 5982508 commit 6b369fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rulesets/Base/nondiff.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ VERSION >= v"1.4" && @non_differentiable only(::Char)
293293

294294
@non_differentiable partialsort(::AbstractVector, ::Union{Integer,OrdinalRange})
295295
@non_differentiable partialsort!(::AbstractVector, ::Union{Integer,OrdinalRange})
296-
@non_differentiable partialsortperm(::AbstractVector{Any}, ::Union{Integer, OrdinalRange})
297-
@non_differentiable partialsortperm!(::AbstractVector{<:Integer}, ::AbstractVector{Any}, ::Union{Integer, OrdinalRange})
296+
@non_differentiable partialsortperm(::AbstractVector, ::Union{Integer, OrdinalRange})
297+
@non_differentiable partialsortperm!(::AbstractVector{<:Integer}, ::AbstractVector, ::Union{Integer, OrdinalRange})
298298
@non_differentiable pointer(::Any)
299299
@non_differentiable popdisplay(::AbstractDisplay)
300300
@non_differentiable position(::Base.Filesystem.File)
@@ -358,9 +358,9 @@ end
358358
@non_differentiable sleep(::Any)
359359
@non_differentiable sort(::AbstractVector)
360360
@non_differentiable sort!(::AbstractVector)
361-
@non_differentiable sortperm(::AbstractVector{Any})
361+
@non_differentiable sortperm(::AbstractVector)
362362
@non_differentiable sortperm!(::AbstractVector{<:Integer}, ::AbstractVector)
363-
@non_differentiable sortslices(A::AbstractArray)
363+
@non_differentiable sortslices(::AbstractArray)
364364
@non_differentiable split(::AbstractString)
365365
@non_differentiable split(::AbstractString, ::AbstractChar)
366366
@non_differentiable splitdir(::AbstractString)

0 commit comments

Comments
 (0)