commit 7d8fd452672e1fcf3692da0f52d480415b67e1ea (tree) parent a282ac7a9119cd0961ea17e29c4a0e9b0baf60d0 Author: Veikka Tuominen <git@vexu.eu> Date: Fri, 12 Jun 2020 19:10:47 +0300 Merge pull request #5595 from ifreund/doc-arraylist-fix docs: fix mention of deprecated ArrayList.span() Diffstat:
| M | doc/langref.html.in | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -9336,8 +9336,8 @@ test "string literal to constant slice" { the function will accept an {#syntax#}*Allocator{#endsyntax#} parameter. </p> <p> - Sometimes the lifetime of a pointer may be more complicated. For example, when using - {#syntax#}std.ArrayList(T).span(){#endsyntax#}, the returned slice has a lifetime that remains + Sometimes the lifetime of a pointer may be more complicated. For example, the + {#syntax#}std.ArrayList(T).items{#endsyntax#} slice has a lifetime that remains valid until the next time the list is resized, such as by appending new elements. </p> <p>