Skip to content

[Merged by Bors] - Remove outdated uses of single-tuple bundles#6406

Closed
joseph-gio wants to merge 3 commits intobevyengine:mainfrom
joseph-gio:single-tuple
Closed

[Merged by Bors] - Remove outdated uses of single-tuple bundles#6406
joseph-gio wants to merge 3 commits intobevyengine:mainfrom
joseph-gio:single-tuple

Conversation

@joseph-gio
Copy link
Member

Objective

Bevy still has many instances of using single-tuples (T,) to create a bundle. Due to #2975, this is no longer necessary.

Solution

Search for regex \(.+\s*,\). This should have found every instance.

@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 S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Oct 29, 2022
@alice-i-cecile
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Oct 29, 2022
# Objective

Bevy still has many instances of using single-tuples `(T,)` to create a bundle. Due to #2975, this is no longer necessary.

## Solution

Search for regex `\(.+\s*,\)`. This should have found every instance.
@joseph-gio
Copy link
Member Author

Well that was fast

@bors bors bot changed the title Remove outdated uses of single-tuple bundles [Merged by Bors] - Remove outdated uses of single-tuple bundles Oct 29, 2022
@bors bors bot closed this Oct 29, 2022
@joseph-gio joseph-gio deleted the single-tuple branch December 1, 2022 15:05
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective

Bevy still has many instances of using single-tuples `(T,)` to create a bundle. Due to bevyengine#2975, this is no longer necessary.

## Solution

Search for regex `\(.+\s*,\)`. This should have found every instance.
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 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.

4 participants