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
Clippy fixes #49
base: master
Are you sure you want to change the base?
Clippy fixes #49
Conversation
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
✅ Deploy Preview for thriving-beignet-855860 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This variable is only used in the recursion. We cannot easily remove it, because other trait implementations might need it (any this isnt supposed to be a refactoring, but only a clippy cleanup). Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This variable is only used in the recursion. We cannot easily remove it, because other trait implementations might need it (any this isnt supposed to be a refactoring, but only a clippy cleanup). Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Allow this lint for now, so we can fix the simpler ones first and don't have to scroll in the clippy output all the time. This patch will be reverted as soon as possible. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Allow this lint for now, so we can fix the simpler ones first and don't have to scroll in the clippy output all the time. This patch will be reverted as soon as possible. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Not sure whether this is a bug, as all members of this type are unused. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This function name could be confused because it is named like AsRef::as_ref(). Rename this function to Ident::as_string() because it actually does this. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Allow this lint for now, so we can fix the simpler ones first and don't have to scroll in the clippy output all the time. This patch will be reverted as soon as possible. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This might be a bug, not sure what to do about it. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
ec0f3f1
to
09daafb
Compare
Cleaned up, rebased and "clippy-clean" IMO. #48 should go in first still, though! 😆 |
This PR seems to remove several things that were unused, but with intent to use later. While I think clippy is usually a useful tool and very useful on projects in a more mature state, I don't think many of these changes do much to help this particular codebase, with some actually doing it some harm. |
WIP!!!
This is a WIP effort to fix all clippy fixes in the project. It is based on #48, so that PR should clearly go in first, I will then rebase this one.
It is nowhere done, there's a lot reported by clippy. I am just opening this so that you can see what I am doing 😅