diff --git a/crates/core/src/chunker.rs b/crates/core/src/chunker.rs index fb6a300b..12de7780 100644 --- a/crates/core/src/chunker.rs +++ b/crates/core/src/chunker.rs @@ -287,6 +287,7 @@ fn qp(p: i32, g: Polynom64) -> Polynom64 { } #[cfg(test)] +#[allow(clippy::unwrap_used, clippy::expect_used)] mod tests { use super::*; use std::io::{repeat, Cursor}; diff --git a/crates/core/src/crypto/aespoly1305.rs b/crates/core/src/crypto/aespoly1305.rs index d22e49c1..403a9c22 100644 --- a/crates/core/src/crypto/aespoly1305.rs +++ b/crates/core/src/crypto/aespoly1305.rs @@ -118,6 +118,7 @@ impl CryptoKey for Key { } #[cfg(test)] +#[allow(clippy::unwrap_used, clippy::expect_used)] mod tests { use super::*; diff --git a/crates/core/src/index/binarysorted.rs b/crates/core/src/index/binarysorted.rs index b58e208b..63ee19e8 100644 --- a/crates/core/src/index/binarysorted.rs +++ b/crates/core/src/index/binarysorted.rs @@ -264,6 +264,7 @@ impl ReadIndex for Index { } #[cfg(test)] +#[allow(clippy::unwrap_used, clippy::expect_used)] mod tests { use super::*; use crate::{repofile::indexfile::IndexFile, RusticResult};