| ... | @@ -64,7 +64,7 @@ pub fn format(context: var, comptime Errors: type, output: fn(@typeOf(context), | ... | @@ -64,7 +64,7 @@ pub fn format(context: var, comptime Errors: type, output: fn(@typeOf(context), |
| 64 | }, | 64 | }, |
| 65 | else => @compileError("Single '}' encountered in format string"), | 65 | else => @compileError("Single '}' encountered in format string"), |
| 66 | }, | 66 | }, |
| 67 | State.FormatString => switch(c) { | 67 | State.FormatString => switch (c) { |
| 68 | '}' => { | 68 | '}' => { |
| 69 | const s = start_index + 1; | 69 | const s = start_index + 1; |
| 70 | try formatType(args[next_arg], fmt[s..i], context, Errors, output); | 70 | try formatType(args[next_arg], fmt[s..i], context, Errors, output); |