From 67d684d89aeb0bb3cfa86c57e8d77359d45743fa Mon Sep 17 00:00:00 2001 From: Josias Date: Wed, 12 Aug 2020 08:56:34 +0000 Subject: docs: Fix reference to General Purpose Allocator --- doc/langref.html.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/langref.html.in b/doc/langref.html.in index edafc82ab8..cfde67d622 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -9299,10 +9299,8 @@ fn concat(allocator: *Allocator, a: []const u8, b: []const u8) ![]u8 { which will also do perform basic leak detection.

- Currently Zig has no general purpose allocator, but there is - one under active development. - Once it is merged into the Zig standard library it will become available to import - with {#syntax#}std.heap.default_allocator{#endsyntax#}. However, it will still be recommended to + Zig has a general purpose allocator available to be imported + with {#syntax#}std.heap.GeneralPurposeAllocator{#endsyntax#}. However, it is still recommended to follow the {#link|Choosing an Allocator#} guide.

-- cgit v1.2.3