Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Sep 13, 2024
1 parent ba642a6 commit 243fcc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/fmt/struct.v
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn (mut f Fmt) struct_decl(node ast.StructDecl, is_anon bool) {
if i < node.implements_types.len - 1 {
f.write(', ')
}
f.mark_types_import_as_used(t)
f.mark_types_import_as_used(t.typ)
}
}
// Calculate the alignments first
Expand Down

0 comments on commit 243fcc9

Please sign in to comment.