Skip to content

Replace impl_param_set proc macro with a macro_rules macro#16847

Merged
alice-i-cecile merged 3 commits intobevyengine:mainfrom
chescock:macro-rules-param-set
Dec 18, 2024
Merged

Replace impl_param_set proc macro with a macro_rules macro#16847
alice-i-cecile merged 3 commits intobevyengine:mainfrom
chescock:macro-rules-param-set

Conversation

@chescock
Copy link
Contributor

Objective

Simplify the code by using macro_rules instead of a proc macro where possible.

Solution

Replace impl_param_set proc macro with a macro_rules macro.

@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events C-Code-Quality A section of code that is hard to understand or change D-Macros Code that generates Rust code labels Dec 16, 2024
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Dec 16, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Dec 18, 2024
Merged via the queue into bevyengine:main with commit 3ef99cf Dec 18, 2024
ecoskey pushed a commit to ecoskey/bevy that referenced this pull request Jan 6, 2025
…ngine#16847)

# Objective

Simplify the code by using `macro_rules` instead of a proc macro where
possible.

## Solution

Replace `impl_param_set` proc macro with a `macro_rules` macro.
mrchantey pushed a commit to mrchantey/bevy that referenced this pull request Feb 4, 2025
…ngine#16847)

# Objective

Simplify the code by using `macro_rules` instead of a proc macro where
possible.

## Solution

Replace `impl_param_set` proc macro with a `macro_rules` macro.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events C-Code-Quality A section of code that is hard to understand or change D-Macros Code that generates Rust code S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants