minor cleanup
This commit is contained in:
+1
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user