aboutsummaryrefslogtreecommitdiff
path: root/src/scheduler.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/scheduler.zig')
-rw-r--r--src/scheduler.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scheduler.zig b/src/scheduler.zig
index b2ab0db..9034a84 100644
--- a/src/scheduler.zig
+++ b/src/scheduler.zig
@@ -2,7 +2,7 @@ const std = @import("std");
pub fn Scheduler(function: anytype) type {
const FuncType = @TypeOf(function);
- const func_info = @typeInfo(FuncType).Fn;
+ const func_info = @typeInfo(FuncType).@"fn";
const R = func_info.return_type orelse std.builtin.Type.Void;
const ArgType = std.meta.ArgsTuple(FuncType);