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