std.http.Client.Response.ParseError: remove OutOfMemory

This can no longer fail due to OOM.
This commit is contained in:
Andrew Kelley 2024-02-16 01:03:58 -07:00
parent 99a5de9dbb
commit cf4a2c4d18

View File

@ -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,