diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index dbdeb0fb42..edafc82ab8 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -9363,7 +9363,7 @@ pub fn main() !void { Finally, if none of the above apply, you need a general purpose allocator. Zig's general purpose allocator is available as a function that takes a {#link|comptime#} {#link|struct#} of configuration options and returns a type. - Generally, you will set up one {#syntax#}std.heap.GeneralPurposeAllocator#{endsyntax#} in + Generally, you will set up one {#syntax#}std.heap.GeneralPurposeAllocator{#endsyntax#} in your main function, and then pass it or sub-allocators around to various parts of your application. </li> |
