authorgravatar for aidan@freedwave.comAidan Welch <aidan@freedwave.com> 2025-12-02 10:59:53+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-12-05 14:14:01+01:00
log032e3c92547e33be0ad0f2c6bef1c1e2a51d505c
treea655bfc85ad4fbd93d41a6c66c88a57f18ead918
parentadc5a39de2a8d6da0d0785d43d01fde9fe8e23fe

std.Io.Timestamp: when creating a Clock.Timestamp actually set .raw instead of the non-existant .nanoseconds


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Io.zig+1-1
......@@ -890,7 +890,7 @@ pub const Timestamp = struct {
890890 }
891891
892892 pub fn withClock(t: Timestamp, clock: Clock) Clock.Timestamp {
893 return .{ .nanoseconds = t.nanoseconds, .clock = clock };
893 return .{ .raw = t, .clock = clock };
894894 }
895895
896896 pub fn fromNanoseconds(x: i96) Timestamp {