this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fixes @typeinfo changes in zig 0.14

Altagos 469ec404 cb75e875

+2 -2
+2 -2
src/interval.zig
··· 21 21 }; 22 22 23 23 pub fn Interval(comptime T: type) type { 24 - if (@typeInfo(T) == .Int) { 24 + if (@typeInfo(T) == .int) { 25 25 return IntInterval(T); 26 - } else if (@typeInfo(T) == .Float) { 26 + } else if (@typeInfo(T) == .float) { 27 27 return FloatInterval(T); 28 28 } else { 29 29 @compileError("Interval only supports Int and Float Types!");