authorgravatar for spam@philipp.luPhilipp Lühmann <spam@philipp.lu> 2023-07-02 20:13:51+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-03 01:14:20-07:00
logde227ace14e09c7c17a60f716b88d2327fee201d
treeabf74de5b96575b86c62fefabd502d3978a1885d
parentfc9ab5f0e838196e99d1706e4d4e91f3d761d509

std: fix doc comment of GPA deinit

This was missed in #15269

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

lib/std/heap/general_purpose_allocator.zig+1-1
......@@ -433,7 +433,7 @@ pub fn GeneralPurposeAllocator(comptime config: Config) type {
433433 }
434434 } else struct {};
435435
436 /// Returns true if there were leaks; false otherwise.
436 /// Returns `Check.leak` if there were leaks; `Check.ok` otherwise.
437437 pub fn deinit(self: *Self) Check {
438438 const leaks = if (config.safety) self.detectLeaks() else false;
439439 if (config.retain_metadata) {