From 33eaaadd01b20d1327b67758664ce1265216e471 Mon Sep 17 00:00:00 2001 From: Nick Erdmann Date: Tue, 16 Jul 2019 01:48:47 +0200 Subject: fix documentation of assert --- std/debug.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/debug.zig') diff --git a/std/debug.zig b/std/debug.zig index 2cba054043..d81e62901a 100644 --- a/std/debug.zig +++ b/std/debug.zig @@ -199,7 +199,7 @@ pub fn dumpStackTrace(stack_trace: builtin.StackTrace) void { /// in its heuristics. /// Inside a test block, it is best to use the `std.testing` module rather /// than this function, because this function may not detect a test failure -/// in ReleaseFast and ReleaseSafe mode. Outside of a test block, this assert +/// in ReleaseFast and ReleaseSmall mode. Outside of a test block, this assert /// function is the correct function to use. pub fn assert(ok: bool) void { if (!ok) unreachable; // assertion failure -- cgit v1.2.3