aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJosias <me@josias.dev>2020-08-12 08:56:34 +0000
committerAndrew Kelley <andrew@ziglang.org>2020-08-12 05:08:41 -0400
commit67d684d89aeb0bb3cfa86c57e8d77359d45743fa (patch)
treec652dd848c38b02ae8d4832c793b3d2254cf6056 /doc
parent8282f4271cf3a3e0d2159c698142b3cafe6b1603 (diff)
downloadzig-67d684d89aeb0bb3cfa86c57e8d77359d45743fa.tar.gz
zig-67d684d89aeb0bb3cfa86c57e8d77359d45743fa.zip
docs: Fix reference to General Purpose Allocator
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in6
1 files changed, 2 insertions, 4 deletions
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.
</p>
<p>
- Currently Zig has no general purpose allocator, but there is
- <a href="https://github.com/andrewrk/zig-general-purpose-allocator/">one under active development</a>.
- 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.
</p>