update docs to new fmt API

This commit is contained in:
Andrew Kelley
2019-12-08 23:46:50 -05:00
parent 5f9467d78f
commit 03396b3caa
3 changed files with 84 additions and 72 deletions

View File

@@ -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});
}
},
}