diff --git a/std/fmt/index.zig b/std/fmt/index.zig index 011b5d7c25a7b715c5f56cec67435c41fde9c0ea..eb52cead90b92784afeff867d31723162563aa5e 100644 --- a/std/fmt/index.zig +++ b/std/fmt/index.zig @@ -64,7 +64,7 @@ pub fn format(context: var, comptime Errors: type, output: fn(@typeOf(context), }, else => @compileError("Single '}' encountered in format string"), }, - State.FormatString => switch(c) { + State.FormatString => switch (c) { '}' => { const s = start_index + 1; try formatType(args[next_arg], fmt[s..i], context, Errors, output);