Commit 4e1d0a59fa

tgschultz <tgschultz@gmail.com>
2018-05-30 17:24:27
Minor typo
1 parent 8fc52a9
Changed files (1)
std
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);