authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-01-01 20:19:14 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-01-01 20:19:14 -08:00
loga091eaa9f9ae91c3875630ba1983b33ea04971a3
tree5a1ddd5b089944402ab81787a278fd4ad51422d7
parente87d3b275d1445b48e1d8f9c6c2080c63b459242

update example code to zig 0.9.0


1 files changed, 1 insertions(+), 1 deletions(-)

src/main.zig+1-1
......@@ -5,7 +5,7 @@ const zfetch = @import("zfetch");
55
66pub fn main() !void {
77 var gpa = std.heap.GeneralPurposeAllocator(.{}){};
8 const alloc = &gpa.allocator;
8 const alloc = gpa.allocator();
99
1010 const url = "https://old.reddit.com/r/Zig/.json";
1111