| ... | @@ -96,7 +96,7 @@ pub const Request = struct { | ... | @@ -96,7 +96,7 @@ pub const Request = struct { |
| 96 | }; | 96 | }; |
| 97 | } | 97 | } |
| 98 | | 98 | |
| 99 | pub const ParseError = Allocator.Error || error{ | 99 | pub const ParseError = error{ |
| 100 | UnknownHttpMethod, | 100 | UnknownHttpMethod, |
| 101 | HttpHeadersInvalid, | 101 | HttpHeadersInvalid, |
| 102 | HttpHeaderContinuationsUnsupported, | 102 | HttpHeaderContinuationsUnsupported, |
| ... | @@ -612,7 +612,6 @@ const http = std.http; | ... | @@ -612,7 +612,6 @@ const http = std.http; |
| 612 | const mem = std.mem; | 612 | const mem = std.mem; |
| 613 | const net = std.net; | 613 | const net = std.net; |
| 614 | const Uri = std.Uri; | 614 | const Uri = std.Uri; |
| 615 | const Allocator = mem.Allocator; | | |
| 616 | const assert = std.debug.assert; | 615 | const assert = std.debug.assert; |
| 617 | | 616 | |
| 618 | const Server = @This(); | 617 | const Server = @This(); |