From c85de3b044e942a0231a671b7c762a897a951ac9 Mon Sep 17 00:00:00 2001 From: Christian Kurz Date: Wed, 20 Sep 2017 08:43:15 +0200 Subject: [PATCH] Add `See also: ` to pop!, shift! and splice! #23788 --- base/array.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/array.jl b/base/array.jl index 64189afa33219..92c5f012b43c5 100644 --- a/base/array.jl +++ b/base/array.jl @@ -1080,6 +1080,8 @@ end Remove an item in `collection` and return it. If `collection` is an ordered container, the last item is returned. +See also: shift!, splice! + # Examples ```jldoctest julia> A=[1, 2, 3] @@ -1147,6 +1149,8 @@ end Remove the first `item` from `collection`. +See also: pop!, splice! + # Examples ```jldoctest julia> A = [1, 2, 3, 4, 5, 6] @@ -1316,6 +1320,8 @@ Subsequent items are shifted left to fill the resulting gap. If specified, replacement values from an ordered collection will be spliced in place of the removed item. +See also: pop!, shift! + # Examples ```jldoctest splice! julia> A = [6, 5, 4, 3, 2, 1]; splice!(A, 5)