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

Made clippy happy #63

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Made clippy happy #63

merged 1 commit into from
Jul 3, 2024

Conversation

rozbb
Copy link
Owner

@rozbb rozbb commented Jul 3, 2024

I think a new lint popped up in the last few weeks, so it wasn't caught by the old CI run.

error: importing legacy numeric constants
  --> src/aead.rs:11:51
   |
11 | use core::{default::Default, marker::PhantomData, u8};
   |                                                   ^^
   |
   = help: remove this import
   = note: then `u8::<CONST>` will resolve to the respective associated constant
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
   = note: `-D clippy::legacy-numeric-constants` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]`

@rozbb rozbb merged commit d930f34 into main Jul 3, 2024
22 checks passed
@rozbb rozbb deleted the make-clippy-happy branch July 3, 2024 15:19
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.

1 participant