diff options
| author | Veikka Tuominen <git@vexu.eu> | 2020-06-12 19:10:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-12 19:10:47 +0300 |
| commit | 7d8fd452672e1fcf3692da0f52d480415b67e1ea (patch) | |
| tree | 5d9becbf9021dd4bd651e91cb001b9a006ab823b /doc | |
| parent | a282ac7a9119cd0961ea17e29c4a0e9b0baf60d0 (diff) | |
| parent | a2542979532c35ff76b753b7a6958f1f2e400e80 (diff) | |
| download | zig-7d8fd452672e1fcf3692da0f52d480415b67e1ea.tar.gz zig-7d8fd452672e1fcf3692da0f52d480415b67e1ea.zip | |
Merge pull request #5595 from ifreund/doc-arraylist-fix
docs: fix mention of deprecated ArrayList.span()
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index e5c814d663..4e70bb1342 100644 --- 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> |
