Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nit/rustc warnings20240222 #159

Merged
merged 4 commits into from
Feb 22, 2024

Conversation

varoonp123
Copy link
Contributor

@varoonp123 varoonp123 commented Feb 22, 2024

We run the nightly toolchain (including clippy) and require compilation without warnings (atleast for 1 kind of build). So once in a while, the build will break because rustc warns about more things.

This pr makes names more explicit.

I need to merge this so #158 can build+merge

…er_stats. Bevy reexports the tracing module rather than reexporting the logging macros in the prelude. The existing import locations for the bevy tracing macros was deprecated/changed in v0.12
…e redundant imports and make imports more explicit by replacing star imports with each individual item
…m-level imports. Especially modules with many star imports. These have caused more rustc warnings over time. And star imports are generally bad since the pollute the namespace and make imports order-dependent
@varoonp123 varoonp123 marked this pull request as ready for review February 22, 2024 17:04
@varoonp123 varoonp123 merged commit afe9606 into thetawavegame:main Feb 22, 2024
5 checks passed
@varoonp123 varoonp123 deleted the nit/rustcWarnings20240222 branch February 22, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant