Skip to content

Commit e99ceda

Browse files
committed
Redefine Dates.recur signature
This change removes sphinx's confusion by the type parameter in function signature
1 parent ae39dfd commit e99ceda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/stdlib/dates.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ Adjuster Functions
307307
``same`` allows ``dt`` to be considered in satisfying ``func``. ``negate`` will make the adjustment
308308
process terminate when ``func`` returns false instead of true.
309309

310-
.. function:: recur{T<:TimeType}(func::Function,dr::StepRange{T};negate=false,limit=10000) -> Vector{T}
310+
.. function:: recur(func::Function,dr::StepRange{TimeType};negate=false,limit=10000) -> Vector{TimeType}
311311

312312
``func`` takes a single TimeType argument and returns a ``Bool`` indicating whether the input
313313
should be "included" in the final set. ``recur`` applies ``func`` over each element in the

0 commit comments

Comments
 (0)