Skip to content

fix(clippy): resolve some new clippy warnings #431

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

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Sep 23, 2024

This PR resolves some clippy warnings. #![cfg_attr(test, allow(deprecated))] was added in lib.rs to make editing with rust-analyzer easier. Adding #![allow(deprecated)] for the pubsub module doesn't work, because of the test macros (playground).

The only remaining warnings are from too_long_first_doc_paragraph in top-level doc-comments (I don't know how to silence these, as #[allow(...)] doesn't work :/).

Other than that, twitch_types still has some warnings. These have been fixed, but there's no release yet (also not really needed, imo).

#419 was partly done in #425 (only the edit in Cargo.toml was left), so I did it here. Closes #410.

@Emilgardis Emilgardis added this pull request to the merge queue Sep 23, 2024
Merged via the queue into main with commit 430f2db Sep 23, 2024
16 checks passed
@Emilgardis Emilgardis deleted the fix/some-clippy branch September 23, 2024 17:58
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.

Future incompatibility with Rust RFC 3373: Avoid non-local definitions in functions
2 participants