diff --git a/src/authres.rs b/src/authres.rs index 4d6e86d83f..84504d1ee2 100644 --- a/src/authres.rs +++ b/src/authres.rs @@ -260,7 +260,6 @@ fn parse_authservid_candidates_config(config: &Option) -> BTreeSet<&str> #[cfg(test)] mod tests { - #![allow(clippy::indexing_slicing)] use tokio::fs; use tokio::io::AsyncReadExt; diff --git a/src/location.rs b/src/location.rs index f2fa919b83..5dcc9a258b 100644 --- a/src/location.rs +++ b/src/location.rs @@ -880,8 +880,6 @@ async fn maybe_send_locations(context: &Context) -> Result> { #[cfg(test)] mod tests { - #![allow(clippy::indexing_slicing)] - use super::*; use crate::config::Config; use crate::message::MessageState;