From bb32c2006a1cc44af4c3fa1f920625fd51a0cea1 Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Sat, 9 Jul 2022 15:12:17 -0700 Subject: [PATCH] Fix method signature for ResponseStream --- src/http/response_stream.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/response_stream.zig b/src/http/response_stream.zig index 5a0bd0e..684f90b 100644 --- a/src/http/response_stream.zig +++ b/src/http/response_stream.zig @@ -138,7 +138,7 @@ pub fn ResponseStream(comptime BaseWriter: type) type { } } - pub fn close(self: *const Self) void { + pub fn close(self: *Self) void { self.allocator.free(self.buffer); } };