| ... | @@ -112,12 +112,12 @@ pub const Guid = extern struct { | ... | @@ -112,12 +112,12 @@ pub const Guid = extern struct { |
| 112 | const time_high_and_version = @byteSwap(self.time_high_and_version); | 112 | const time_high_and_version = @byteSwap(self.time_high_and_version); |
| 113 | | 113 | |
| 114 | return writer.print("{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x}", .{ | 114 | return writer.print("{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x}", .{ |
| 115 | std.mem.asBytes(&time_low), | 115 | time_low, |
| 116 | std.mem.asBytes(&time_mid), | 116 | time_mid, |
| 117 | std.mem.asBytes(&time_high_and_version), | 117 | time_high_and_version, |
| 118 | std.mem.asBytes(&self.clock_seq_high_and_reserved), | 118 | self.clock_seq_high_and_reserved, |
| 119 | std.mem.asBytes(&self.clock_seq_low), | 119 | self.clock_seq_low, |
| 120 | std.mem.asBytes(&self.node), | 120 | self.node, |
| 121 | }); | 121 | }); |
| 122 | } | 122 | } |
| 123 | | 123 | |