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

Clippy updates #18

Merged
merged 2 commits into from
Jan 30, 2024
Merged

Clippy updates #18

merged 2 commits into from
Jan 30, 2024

Conversation

FreezyLemon
Copy link
Contributor

The #[allow(clippy::missing_panics_doc)] isn't a perfect solution, but good enough IMHO. Rewriting the code would be more effort due to testing (the to_u16().expect() is optimized away and cannot panic in monomorphized code).

Could be something to do later - the traits required by Pixel provide some functionality that can make it statically panic-free for any T: Pixel, but that doesn't seem very important

@shssoichiro shssoichiro merged commit 15ec060 into rust-av:main Jan 30, 2024
1 check passed
@FreezyLemon
Copy link
Contributor Author

⚡ turbo merge, thanks

@FreezyLemon FreezyLemon deleted the clippy-updates branch January 30, 2024 14:48
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.

2 participants