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

Fix clippy dead_code error for IsizeExt with latest 1.78 stable toolchain #40

Merged
merged 1 commit into from
May 5, 2024

Commits on May 4, 2024

  1. Fix clippy dead_code error for IsizeExt with latest 1.78 stable too…

    …lchain
    
    On 1.78 clippy notices that the `clamp_into_u16` `IsizeExt` trait is dead code.
    The corresponding function in the `UsizeExt` trait is used however.
    
    This commit tags the `IsizeExt` version with `#[allow(dead_code)]` to silence
    the clippy error.
    emesterhazy committed May 4, 2024
    Configuration menu
    Copy the full SHA
    b468eaa View commit details
    Browse the repository at this point in the history