io: make toClock compile

This commit is contained in:
David Rubin
2026-04-19 16:57:22 -07:00
parent 76174e1bce
commit a0a36bf92e
+1 -1
View File
@@ -890,7 +890,7 @@ pub const Clock = enum {
if (t.clock == clock) return t;
const now_old = t.clock.now(io);
const now_new = clock.now(io);
const duration = now_old.durationTo(t);
const duration = now_old.durationTo(t.raw);
return .{
.clock = clock,
.raw = now_new.addDuration(duration),