minor cleanup

This commit is contained in:
2026-08-02 20:58:39 +02:00
parent 90c7195d4b
commit d693711a59
2 changed files with 15 additions and 14 deletions
+1 -2
View File
@@ -327,6 +327,7 @@ hide format_field_name proc($T type, index usize) []u8 {
else: compile_error!("io.print arguments must be a tuple")
}
}
hide distinct_value proc($Backing, $Distinct type, value Distinct) Backing {
return ptrcast!(Backing, &value)^
}
@@ -341,8 +342,6 @@ hide scalar_or_distinct_type proc($T type) bool {
}
}
hide write_integer proc(output Writer, $T type, value T, base u64, uppercase bool) void ! WriteError {
match typeinfo!(T) {
.integer: if minval!(T) < 0 {