Skip to content

Fix various unused import warnings with no features enabled#18580

Merged
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
yrns:gizmos-unused-import
Mar 28, 2025
Merged

Fix various unused import warnings with no features enabled#18580
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
yrns:gizmos-unused-import

Conversation

@yrns

@yrns yrns commented Mar 27, 2025

Copy link
Copy Markdown
Contributor

Objective

Per title. I was using the bevy_gizmos crate without the webgl feature enabled, and noticed there were other warnings with no features enabled as well.

Testing

  • cargo check -p bevy_gizmos --no-default-features
  • cargo check -p bevy_gizmos --all-features
  • cargo run -p ci -- test
  • Ran gizmo examples.

@mockersf

Copy link
Copy Markdown
Member

duplicate of #18487

@alice-i-cecile alice-i-cecile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much less controversial than the linked PR, which does a bit more. Merging for now, and the other PR can rebase.

@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 Mar 28, 2025
@alice-i-cecile
alice-i-cecile added this pull request to the merge queue Mar 28, 2025
@alice-i-cecile alice-i-cecile added the C-Code-Quality A section of code that is hard to understand or change label Mar 28, 2025
Merged via the queue into bevyengine:main with commit e50a42a Mar 28, 2025
@yrns
yrns deleted the gizmos-unused-import branch March 28, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants