Skip to content

Commit 6225d9a

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 21d33b4 commit 6225d9a

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
@@ -1338,8 +1338,8 @@ implicitly begin blocks of code. See also [`;`](@ref).
13381338
collection or the first index of a dimension of an array. For example,
13391339
`a[begin]` is the first element of an array `a`.
13401340
1341-
!!! compat "Julia 1.6"
1342-
Use of `begin` as an index requires Julia 1.6 or later.
1341+
!!! compat "Julia 1.4"
1342+
Use of `begin` as an index requires Julia 1.4 or later.
13431343
13441344
# Examples
13451345
```jldoctest

0 commit comments

Comments
 (0)