diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-12-07 21:35:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-07 21:35:02 -0500 |
| commit | d69e97ae1677ca487833caf6937fa428563ed0ae (patch) | |
| tree | 9299ebd6762715fd756972458f152ed123bf718f /lib/std/fmt.zig | |
| parent | 913b4a3f19955296a892ffe4f148f8c097a7732a (diff) | |
| parent | 6039554b26b1aee6502063d9130907369c4ffd38 (diff) | |
| download | zig-d69e97ae1677ca487833caf6937fa428563ed0ae.tar.gz zig-d69e97ae1677ca487833caf6937fa428563ed0ae.zip | |
Merge pull request #13806 from Vexu/stage2-fixes
misc fixes and improvements
Diffstat (limited to 'lib/std/fmt.zig')
| -rw-r--r-- | lib/std/fmt.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/fmt.zig b/lib/std/fmt.zig index ae97b76124..903dd67c3d 100644 --- a/lib/std/fmt.zig +++ b/lib/std/fmt.zig @@ -199,7 +199,7 @@ pub fn format( switch (missing_count) { 0 => unreachable, 1 => @compileError("unused argument in '" ++ fmt ++ "'"), - else => @compileError((comptime comptimePrint("{d}", .{missing_count})) ++ " unused arguments in '" ++ fmt ++ "'"), + else => @compileError(comptimePrint("{d}", .{missing_count}) ++ " unused arguments in '" ++ fmt ++ "'"), } } } |
