commit 4e1d0a59faea8ca9a9c28a876bc448f1d2f46a17 (tree)
parent 8fc52a94f46295ee821708c44a165803207e85a6
Author: tgschultz <tgschultz@gmail.com>
Date: Wed, 30 May 2018 10:24:27 -0500
Minor typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);