From cf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 16 Feb 2024 01:03:58 -0700 Subject: [PATCH] std.http.Client.Response.ParseError: remove OutOfMemory This can no longer fail due to OOM. --- lib/std/http/Client.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/http/Client.zig b/lib/std/http/Client.zig index a8e2b5e98b..3eae537d29 100644 --- a/lib/std/http/Client.zig +++ b/lib/std/http/Client.zig @@ -419,7 +419,7 @@ pub const Compression = union(enum) { /// A HTTP response originating from a server. pub const Response = struct { - pub const ParseError = Allocator.Error || error{ + pub const ParseError = error{ HttpHeadersInvalid, HttpHeaderContinuationsUnsupported, HttpTransferEncodingUnsupported,