From a0a36bf92e11ec0c2ff5d2a5302c9d4b1b3e1f7b Mon Sep 17 00:00:00 2001 From: David Rubin Date: Sun, 19 Apr 2026 16:57:22 -0700 Subject: [PATCH] io: make toClock compile --- lib/std/Io.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Io.zig b/lib/std/Io.zig index b44cbe8b4ea8fa025e66dbfa6eda4b8092e7cdce..75fdf6aeee9c0de0e601fc4ea577192f3bc74754 100644 --- a/lib/std/Io.zig +++ b/lib/std/Io.zig @@ -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), -- 2.54.0