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

Redundant map_flatten lint in workspace #11912

Closed
BD103 opened this issue Feb 17, 2024 · 0 comments · Fixed by #11913
Closed

Redundant map_flatten lint in workspace #11912

BD103 opened this issue Feb 17, 2024 · 0 comments · Fixed by #11913
Labels
C-Code-Quality A section of code that is hard to understand or change D-Trivial Nice and easy! A great choice to get started with Bevy

Comments

@BD103
Copy link
Member

BD103 commented Feb 17, 2024

In Cargo.toml, the Clippy lint map_flatten is currently enabled and set to warn.

map_flatten = "warn"

map_flatten is warn by default in stable Rust, so this line is redundant and can be removed.

@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy C-Code-Quality A section of code that is hard to understand or change labels Feb 17, 2024
github-merge-queue bot pushed a commit that referenced this issue Feb 17, 2024
# Objective
Remove `map_flatten` rule from Cargo.toml

fixes #11912
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 D-Trivial Nice and easy! A great choice to get started with Bevy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants