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

Conversation

emesterhazy
Copy link
Collaborator

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.

…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.
@arxanas arxanas enabled auto-merge (rebase) May 5, 2024 21:14
@arxanas arxanas merged commit 62fa435 into arxanas:main May 5, 2024
2 checks passed
@emesterhazy emesterhazy deleted the push-pnzmlzyllykz branch May 6, 2024 15:44
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