fix: more zig-0.15 API fixes
This commit is contained in:
parent
63391c5905
commit
aa6c78f5cb
2 changed files with 3 additions and 3 deletions
|
@ -220,7 +220,7 @@ pub const message = struct {
|
|||
return if (cbor.match(self.buf, m)) |ret| ret else |e| exit_error(e, @errorReturnTrace());
|
||||
}
|
||||
|
||||
pub fn format(self: @This(), comptime _: []const u8, _: std.fmt.FormatOptions, writer: anytype) !void {
|
||||
pub fn format(self: @This(), writer: anytype) std.Io.Writer.Error!void {
|
||||
return cbor.toJsonWriter(self.buf, writer, .{});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue