From 860ebc4fd45e3d9865d95e80d3d80d5dd10c12bf Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 1 Dec 2022 22:46:01 +0100 Subject: Fixed bugs from zig 0.10 upgrade (some real!) --- src/io.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io.zig') diff --git a/src/io.zig b/src/io.zig index f33437f..54abcfc 100644 --- a/src/io.zig +++ b/src/io.zig @@ -1,6 +1,6 @@ const std = @import("std"); -pub fn Context(readerType: anytype, writerType: anytype) type { +pub fn Context(comptime readerType: anytype, comptime writerType: anytype) type { return struct { reader: readerType, writer: writerType, -- cgit v1.2.3