From 540c2043fbc991e962630f5a9d14859a9293e852 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Sun, 21 Apr 2024 14:24:17 +0200 Subject: [PATCH] re-fix error --- src/request.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/request.zig b/src/request.zig index 9dc040f..69c8a6c 100644 --- a/src/request.zig +++ b/src/request.zig @@ -111,7 +111,7 @@ pub const HttpParamBinaryFile = struct { filename: ?[]const u8 = null, /// format function for printing file upload data - pub fn format(value: @This(), comptime _: []const u8, _: std.fmt.FormatOptions, writer: anytype) std.os.WriteError!void { + pub fn format(value: @This(), comptime _: []const u8, _: std.fmt.FormatOptions, writer: anytype) !void { const d = value.data orelse "\\0"; const m = value.mimetype orelse "null"; const f = value.filename orelse "null";