| ... | ... | @@ -9299,10 +9299,8 @@ fn concat(allocator: *Allocator, a: []const u8, b: []const u8) ![]u8 { |
| 9299 | 9299 | which will also do perform basic leak detection. |
| 9300 | 9300 | </p> |
| 9301 | 9301 | <p> |
| 9302 | | Currently Zig has no general purpose allocator, but there is |
| 9303 | | <a href="https://github.com/andrewrk/zig-general-purpose-allocator/">one under active development</a>. |
| 9304 | | Once it is merged into the Zig standard library it will become available to import |
| 9305 | | with {#syntax#}std.heap.default_allocator{#endsyntax#}. However, it will still be recommended to |
| 9302 | Zig has a general purpose allocator available to be imported |
| 9303 | with {#syntax#}std.heap.GeneralPurposeAllocator{#endsyntax#}. However, it is still recommended to |
| 9306 | 9304 | follow the {#link|Choosing an Allocator#} guide. |
| 9307 | 9305 | </p> |
| 9308 | 9306 | |