From 03396b3caac1ab76dae5f672800aafb176d46cad Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 8 Dec 2019 23:46:50 -0500 Subject: update docs to new fmt API --- lib/std/os/windows.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig index 81855a992a..b7b1edeb89 100644 --- a/lib/std/os/windows.zig +++ b/lib/std/os/windows.zig @@ -323,7 +323,7 @@ pub fn GetQueuedCompletionStatus( ERROR.HANDLE_EOF => return GetQueuedCompletionStatusResult.EOF, else => |err| { if (std.debug.runtime_safety) { - std.debug.panic("unexpected error: {}\n", err); + std.debug.panic("unexpected error: {}\n", .{err}); } }, } -- cgit v1.2.3