Skip to content

Commit

Permalink
fix docstrings on first and last (JuliaLang#40278)
Browse files Browse the repository at this point in the history
  • Loading branch information
palday authored and ElOceanografo committed May 4, 2021
1 parent 849c141 commit 4e5540f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ end
"""
first(itr, n::Integer)
Get the first `n` elements of the iterable collection `itr`, or fewer elements if `v` is not
Get the first `n` elements of the iterable collection `itr`, or fewer elements if `itr` is not
long enough.
!!! compat "Julia 1.6"
Expand Down Expand Up @@ -439,7 +439,7 @@ last(a) = a[end]
"""
last(itr, n::Integer)
Get the last `n` elements of the iterable collection `itr`, or fewer elements if `v` is not
Get the last `n` elements of the iterable collection `itr`, or fewer elements if `itr` is not
long enough.
!!! compat "Julia 1.6"
Expand Down

0 comments on commit 4e5540f

Please sign in to comment.