Skip to content

Commit

Permalink
fix typo in line 38 in tuple.jl (#44817)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuliadmtru authored Apr 1, 2022
1 parent 20d29f4 commit 05340a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/tuple.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ getindex(t::Tuple, c::Colon) = t
get(t::Tuple, i::Integer, default) = i in 1:length(t) ? getindex(t, i) : default
get(f::Callable, t::Tuple, i::Integer) = i in 1:length(t) ? getindex(t, i) : f()

# returns new tuple; N.B.: becomes no-op if i is out-of-bounds
# returns new tuple; N.B.: becomes no-op if `i` is out-of-bounds

"""
setindex(c::Tuple, v, i::Integer)
Expand Down

0 comments on commit 05340a8

Please sign in to comment.