fmt: fix alignment of struct init fields (#22025)

This commit is contained in:
yuyi 2024-08-11 14:11:24 +08:00 committed by GitHub
parent 99da5726db
commit c51d30bf53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
671 changed files with 18817 additions and 18787 deletions

View file

@ -160,8 +160,8 @@ pub fn c_error_number_str(errnum int) string {
$if !vinix {
c_msg := C.strerror(errnum)
err_msg = string{
str: &u8(c_msg)
len: unsafe { C.strlen(c_msg) }
str: &u8(c_msg)
len: unsafe { C.strlen(c_msg) }
is_lit: 1
}
}