From 05340a8cdd813f8e5774c8a85d4be60b9555d0f6 Mon Sep 17 00:00:00 2001 From: iuliadmtru <84318573+iuliadmtru@users.noreply.github.com> Date: Fri, 1 Apr 2022 18:53:26 +0300 Subject: [PATCH] fix typo in line 38 in tuple.jl (#44817) --- base/tuple.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/tuple.jl b/base/tuple.jl index 3b5142d03039d..3803763960c16 100644 --- a/base/tuple.jl +++ b/base/tuple.jl @@ -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)