diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-16 01:03:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-02-23 02:37:11 -0700 |
| commit | cf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989 (patch) | |
| tree | 8a56a5f92bfe3846b2210452bb4a6025d39c6533 /lib/std/http/Client.zig | |
| parent | 99a5de9dbb0a3a30f09056558f715f7607b1a20a (diff) | |
| download | zig-cf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989.tar.gz zig-cf4a2c4d187f3aae8ace72d28fcb1e9b4b80e989.zip | |
std.http.Client.Response.ParseError: remove OutOfMemory
This can no longer fail due to OOM.
Diffstat (limited to 'lib/std/http/Client.zig')
| -rw-r--r-- | lib/std/http/Client.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
