Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Fix clippy, don't deny warnings #2468

Merged
merged 1 commit into from
Aug 29, 2020
Merged

Conversation

Veetaha
Copy link
Contributor

@Veetaha Veetaha commented Aug 29, 2020

Description

Fixed the new warnings introduced in 1.46.0 update.
Also had to remove --deny warnings as discussed: #2450 (comment)

PR Checklist

By placing an x in the boxes I certify that I have:

  • Added unit tests for new code added in this PR.
  • Acknowledged that by making this pull request I release this code under an MIT/Apache 2.0 dual licensing scheme.
  • Added a changelog entry if this will impact users, or modified more than 5 lines of Rust that wasn't a doc comment.
  • Updated the content of the book if this PR would make the book outdated.

If this modified or created any rs files:

  • Ran cargo +stable fmt --all
  • Ran cargo clippy --workspace --features "empty" (may require cargo clean before)
  • Ran cargo build --features "empty"
  • Ran cargo test --workspace --features "empty"

Fixed the new warnings introduced in 1.46.0 update.
Also had to remove `--deny warnings` as discussed (link in PR comment)
@Veetaha
Copy link
Contributor Author

Veetaha commented Aug 29, 2020

cc @Blisto91

Copy link
Contributor

@Blisto91 Blisto91 left a comment

Choose a reason for hiding this comment

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

Good man!

@CleanCut I'm gonna merge this because I think it makes sense in the short term. In the longer term we can still aim for disallowing warnings.

Maybe a temporary compromise could be to create an easy overview of the amount and type of warnings on the repo.
Could be a separate workflow or a badge counting/linking to the warnings.
Then they could still be in focus without forcing a quick scramble when something new pops up.

@Blisto91
Copy link
Contributor

bors r+

@bors bors bot merged commit 68357dc into amethyst:master Aug 29, 2020
@ezpuzz ezpuzz added the type: maintenance A task that has no noticeable user-facing effect. Code cleanup, small refactors, etc. label Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: maintenance A task that has no noticeable user-facing effect. Code cleanup, small refactors, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants