Skip to content

Commit 13caa8a

Browse files
authored
fix docstrings on first and last (#40278)
1 parent 637f52b commit 13caa8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/abstractarray.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ end
391391
"""
392392
first(itr, n::Integer)
393393
394-
Get the first `n` elements of the iterable collection `itr`, or fewer elements if `v` is not
394+
Get the first `n` elements of the iterable collection `itr`, or fewer elements if `itr` is not
395395
long enough.
396396
397397
!!! compat "Julia 1.6"
@@ -439,7 +439,7 @@ last(a) = a[end]
439439
"""
440440
last(itr, n::Integer)
441441
442-
Get the last `n` elements of the iterable collection `itr`, or fewer elements if `v` is not
442+
Get the last `n` elements of the iterable collection `itr`, or fewer elements if `itr` is not
443443
long enough.
444444
445445
!!! compat "Julia 1.6"

0 commit comments

Comments
 (0)