| ... | ... | @@ -357,7 +357,14 @@ pub const Headers = struct { |
| 357 | 357 | self.rebuild_index(); |
| 358 | 358 | } |
| 359 | 359 | |
| 360 | | pub fn format(self: Self, comptime fmt: []const u8, context: var, comptime Errors: type, output: fn (@typeOf(context), []const u8) Errors!void) Errors!void { |
| 360 | pub fn format( |
| 361 | self: Self, |
| 362 | comptime fmt: []const u8, |
| 363 | options: std.fmt.FormatOptions, |
| 364 | context: var, |
| 365 | comptime Errors: type, |
| 366 | output: fn (@typeOf(context), []const u8) Errors!void, |
| 367 | ) Errors!void { |
| 361 | 368 | var it = self.iterator(); |
| 362 | 369 | while (it.next()) |entry| { |
| 363 | 370 | try output(context, entry.name); |