| author | |
| committer | |
| log | 58f5be45f499854f0163360db41120420ef0f9e2 |
| tree | 4870a6009d0ef3d0767bfefcb754b3a64cbd0151 |
| parent | bafad9644cf1d5218bbadf127ddc7d63de596740 |
| signature |
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31966
Reviewed-by: Andrew Kelley <andrew@ziglang.org>1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/Io.zig+1-1| ... | ... | @@ -874,7 +874,7 @@ pub const Clock = enum { |
| 874 | 874 | if (t.clock == clock) return t; |
| 875 | 875 | const now_old = t.clock.now(io); |
| 876 | 876 | const now_new = clock.now(io); |
| 877 | const duration = now_old.durationTo(t); | |
| 877 | const duration = now_old.durationTo(t.raw); | |
| 878 | 878 | return .{ |
| 879 | 879 | .clock = clock, |
| 880 | 880 | .raw = now_new.addDuration(duration), |