Skip to content

Commit

Permalink
Wrap everything with GC type if applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernthedev committed Jan 3, 2025
1 parent 86ce553 commit 5caa755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate/rust/rust_fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ fn make_rust_field(

RustField {
name: format_ident!("{}", config.name_rs(&f.name)),
field_type: field_type.to_type_token(),
field_type: field_type.wrap_by_gc().to_type_token(),
visibility: Visibility::Public,
offset: f.offset.unwrap_or_default(),
}
Expand Down

0 comments on commit 5caa755

Please sign in to comment.