| ... | ... | @@ -133,9 +133,7 @@ pub const Target = struct { |
| 133 | 133 | if (@enumToInt(self) >= @enumToInt(WindowsVersion.nt4) and @enumToInt(self) <= @enumToInt(WindowsVersion.win10_19h1)) { |
| 134 | 134 | try std.fmt.format(out_stream, "WindowsVersion.{}", .{@tagName(self)}); |
| 135 | 135 | } else { |
| 136 | | try std.fmt.format(out_stream, "WindowsVersion(", .{@typeName(@This())}); |
| 137 | | try std.fmt.format(out_stream, "{}", .{@enumToInt(self)}); |
| 138 | | try out_stream.writeAll(")"); |
| 136 | try std.fmt.format(out_stream, "WindowsVersion({})", .{@enumToInt(self)}); |
| 139 | 137 | } |
| 140 | 138 | } |
| 141 | 139 | } |