Skip to content

Commit

Permalink
Update base/range.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Johnny Chen <johnnychen94@hotmail.com>
  • Loading branch information
jw3126 and johnnychen94 authored Nov 12, 2020
1 parent cc25cf3 commit 8c327e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/range.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function range(start, stop; length::Union{Integer,Nothing}=nothing, step=nothing
# See https://github.com/JuliaLang/julia/pull/28708#issuecomment-420034562
if step === length === nothing
msg = """
Neither step nor length were provided. To fix this do one of the following:
Neither `step` nor `length` was provided. To fix this do one of the following:
* Pass one of them
* Use `$(start):$(stop)`
* Use `range($start, stop=$stop)`
Expand Down

0 comments on commit 8c327e9

Please sign in to comment.