File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ Standard library changes
7878 * New ` ncodeunits(c::Char) ` method as a fast equivalent to ` ncodeunits(string(c)) ` ([ #29153 ] ).
7979 * ` mean ` and ` var ` now handles the empty case ([ #29033 ] ).
8080 * New ` sort!(::AbstractArray; dims) ` method that can sort the array along the ` dims ` dimension ([ #28902 ] ).
81+ * ` range ` now accept ` stop ` as a positional argument ([ #28708 ] ).
8182
8283Compiler/Runtime improvements
8384-----------------------------
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ automatically such that the elements are `step` spaced (a [`StepRange`](@ref)).
6060
6161`stop` may be specified as either a positional or keyword argument.
6262
63+ !!! compat "Julia 1.1"
64+ `stop` as a positional argument requires at least Julia 1.1.
65+
6366# Examples
6467```jldoctest
6568julia> range(1, length=100)
You can’t perform that action at this time.
0 commit comments