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

@ -460,9 +460,9 @@ pub fn (mut cr RandomAccessReader) build_header_dict(cfg GetHeaderConf) ! {
// fill the base struct
label := cr.get_cell(x: col, y: cfg.header_row)!
mut h := HeaderItem{
label: label
label: label
column: col
htype: .string
htype: .string
}
// try to infer the type if we haev at least one more row