diff --git a/lib/std/http/Server.zig b/lib/std/http/Server.zig index 2a353e0b75edb5e01bc1654541f02697f5d444ad..ce770f14c450b3aba2ca736b1244c1af93e5b985 100644 --- a/lib/std/http/Server.zig +++ b/lib/std/http/Server.zig @@ -96,7 +96,7 @@ pub const Request = struct { }; } - pub const ParseError = Allocator.Error || error{ + pub const ParseError = error{ UnknownHttpMethod, HttpHeadersInvalid, HttpHeaderContinuationsUnsupported, @@ -612,7 +612,6 @@ const http = std.http; const mem = std.mem; const net = std.net; const Uri = std.Uri; -const Allocator = mem.Allocator; const assert = std.debug.assert; const Server = @This();