authorgravatar for johan.jansson@iki.fiJohan Jansson <johan.jansson@iki.fi> 2023-10-15 21:07:35+03:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-10-15 21:20:48+03:00
loga1e0b9979ab2a47ad1d13dd06106c3143d9a1c9e
tree44c450a7b8c525c72c2ff38b44fb9fb1dca38655
parenta241cf90d66ee0a47fafc49dc65fe32871557a01

std.heap.ArenaAllocator: fix doc comment typo

Fixes #17537

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

lib/std/heap/arena_allocator.zig+1-1
......@@ -89,7 +89,7 @@ pub const ArenaAllocator = struct {
8989 /// functional in that case, all memory is released. Future allocations just might
9090 /// be slower.
9191 ///
92 /// NOTE: If `mode` is `free_mode`, the function will always return `true`.
92 /// NOTE: If `mode` is `free_all`, the function will always return `true`.
9393 pub fn reset(self: *ArenaAllocator, mode: ResetMode) bool {
9494 // Some words on the implementation:
9595 // The reset function can be implemented with two basic approaches: