authorgravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2020-06-12 19:10:47+03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2020-06-12 19:10:47+03:00
log7d8fd452672e1fcf3692da0f52d480415b67e1ea
tree5d9becbf9021dd4bd651e91cb001b9a006ab823b
parenta282ac7a9119cd0961ea17e29c4a0e9b0baf60d0
parenta2542979532c35ff76b753b7a6958f1f2e400e80
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Merge pull request #5595 from ifreund/doc-arraylist-fix

docs: fix mention of deprecated ArrayList.span()

1 files changed, 2 insertions(+), 2 deletions(-)

doc/langref.html.in+2-2
......@@ -9336,8 +9336,8 @@ test "string literal to constant slice" {
93369336 the function will accept an {#syntax#}*Allocator{#endsyntax#} parameter.
93379337 </p>
93389338 <p>
9339 Sometimes the lifetime of a pointer may be more complicated. For example, when using
9340 {#syntax#}std.ArrayList(T).span(){#endsyntax#}, the returned slice has a lifetime that remains
9339 Sometimes the lifetime of a pointer may be more complicated. For example, the
9340 {#syntax#}std.ArrayList(T).items{#endsyntax#} slice has a lifetime that remains
93419341 valid until the next time the list is resized, such as by appending new elements.
93429342 </p>
93439343 <p>