Skip to content

Commit

Permalink
Inline macros for ref/value types
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernthedev committed Jan 8, 2025
1 parent 19524c0 commit 5140f22
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 52 deletions.
2 changes: 1 addition & 1 deletion src/generate/rust/rust_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn run_rust(
};

types()
.find(|(_, c)| c.get_types().iter().any(|(_, t)| t.generics.is_some()))
.find(|(_, c)| c.get_types().iter().any(|(_, t)| t.rs_name_components.generics.is_some()))
.unwrap()
.1
.write(&STATIC_CONFIG)?;
Expand Down
Loading

0 comments on commit 5140f22

Please sign in to comment.