Skip to content

Commit

Permalink
Fix Clippy warnings in tests (#113)
Browse files Browse the repository at this point in the history
Also fixes Clippy invocation in CI and bumps Clippy version.
  • Loading branch information
newpavlov authored Jan 11, 2025
1 parent 967fdee commit 41fa13d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/hybrid-array.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.81.0
toolchain: 1.84.0
components: clippy
- run: cargo clippy --all --all-features -- -D warnings
- run: cargo clippy --all-targets --all-features -- -D warnings

doc:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions src/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ where
}

#[cfg(test)]
#[allow(clippy::unwrap_used)]
mod tests {
const INTEGER_ARRAY_EXAMPLE: [u64; 4] = [1, 2, 3, 4];
use crate::{
Expand Down

0 comments on commit 41fa13d

Please sign in to comment.