diff options
author | Christian Segundo | 2023-06-15 23:27:24 +0200 |
---|---|---|
committer | Christian Segundo | 2023-06-15 23:27:24 +0200 |
commit | 831740fcacfe67b8124436460afa77af15493f93 (patch) | |
tree | b5303ca5833c4c551d636411988808cfb023b0f6 /src/request.zig | |
parent | db5d7914d82d69021cf303e0ab02b46e0730bf48 (diff) | |
download | zmission-831740fcacfe67b8124436460afa77af15493f93.tar.gz |
one step closer
Diffstat (limited to 'src/request.zig')
-rw-r--r-- | src/request.zig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/request.zig b/src/request.zig index 2633428..478999b 100644 --- a/src/request.zig +++ b/src/request.zig @@ -57,9 +57,7 @@ pub const TorrentIDs = union(enum) { many: []const usize, recently_active, - const Self = @This(); - - pub fn jsonStringify(self: Self, options: std.json.StringifyOptions, out_stream: anytype) !void { + pub fn jsonStringify(self: TorrentIDs, options: std.json.StringifyOptions, out_stream: anytype) !void { switch (self) { .single => |v| try std.json.stringify(v, options, out_stream), .many => |v| try std.json.stringify(v, options, out_stream), |