authorgravatar for me@josias.devJosias <me@josias.dev> 2020-08-12 08:56:34+00:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-12 05:08:41-04:00
log67d684d89aeb0bb3cfa86c57e8d77359d45743fa
treec652dd848c38b02ae8d4832c793b3d2254cf6056
parent8282f4271cf3a3e0d2159c698142b3cafe6b1603

docs: Fix reference to General Purpose Allocator


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

doc/langref.html.in+2-4
......@@ -9299,10 +9299,8 @@ fn concat(allocator: *Allocator, a: []const u8, b: []const u8) ![]u8 {
92999299 which will also do perform basic leak detection.
93009300 </p>
93019301 <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
93069304 follow the {#link|Choosing an Allocator#} guide.
93079305 </p>
93089306