From 4e1d0a59faea8ca9a9c28a876bc448f1d2f46a17 Mon Sep 17 00:00:00 2001 From: tgschultz Date: Wed, 30 May 2018 10:24:27 -0500 Subject: [PATCH] Minor typo --- std/fmt/index.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/fmt/index.zig b/std/fmt/index.zig index 011b5d7c2..eb52cead9 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);