authorgravatar for mail@isaacfreund.comIsaac Freund <mail@isaacfreund.com> 2020-06-12 17:58:43+02:00
committergravatar for mail@isaacfreund.comIsaac Freund <mail@isaacfreund.com> 2020-06-12 17:58:43+02:00
loga2542979532c35ff76b753b7a6958f1f2e400e80
tree021b032c37b05d2bb750d01f8d3080af01ac652a
parent69ff89fd1207bc95adf7a349319973c6070ce540
signaturelock-open Commit is signed but in an unrecognized format.

docs: fix mention of deprecated ArrayList.span()


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

doc/langref.html.in+2-2
...@@ -9293,8 +9293,8 @@ test "string literal to constant slice" {...@@ -9293,8 +9293,8 @@ test "string literal to constant slice" {
9293 the function will accept an {#syntax#}*Allocator{#endsyntax#} parameter.9293 the function will accept an {#syntax#}*Allocator{#endsyntax#} parameter.
9294 </p>9294 </p>
9295 <p>9295 <p>
9296 Sometimes the lifetime of a pointer may be more complicated. For example, when using9296 Sometimes the lifetime of a pointer may be more complicated. For example, the
9297 {#syntax#}std.ArrayList(T).span(){#endsyntax#}, the returned slice has a lifetime that remains9297 {#syntax#}std.ArrayList(T).items{#endsyntax#} slice has a lifetime that remains
9298 valid until the next time the list is resized, such as by appending new elements.9298 valid until the next time the list is resized, such as by appending new elements.
9299 </p>9299 </p>
9300 <p>9300 <p>