Skip to content

Commit 35f56b1

Browse files
stevengjKristofferC
authored andcommitted
correction to compat notice for a[begin] (#55209)
Correction to #55197: `a[begin]` indexing was added in Julia 1.4 (#33946), not in Julia 1.6 (which just changed the implementation in #35779). My bad. (cherry picked from commit 06467eb)
1 parent 5ba19c1 commit 35f56b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/docs/basedocs.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,8 +1357,8 @@ implicitly begin blocks of code. See also [`;`](@ref).
13571357
collection or the first index of a dimension of an array. For example,
13581358
`a[begin]` is the first element of an array `a`.
13591359
1360-
!!! compat "Julia 1.6"
1361-
Use of `begin` as an index requires Julia 1.6 or later.
1360+
!!! compat "Julia 1.4"
1361+
Use of `begin` as an index requires Julia 1.4 or later.
13621362
13631363
# Examples
13641364
```jldoctest

0 commit comments

Comments
 (0)