Skip to content

Commit

Permalink
refactor: remove unnecessary allow(clippy::indexing_slicing)
Browse files Browse the repository at this point in the history
clippy::indexing_slicing is already allowed in test builds.
  • Loading branch information
link2xt committed Nov 18, 2024
1 parent 7a62839 commit b300dbd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/authres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ fn parse_authservid_candidates_config(config: &Option<String>) -> BTreeSet<&str>

#[cfg(test)]
mod tests {
#![allow(clippy::indexing_slicing)]
use tokio::fs;
use tokio::io::AsyncReadExt;

Expand Down
2 changes: 0 additions & 2 deletions src/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -880,8 +880,6 @@ async fn maybe_send_locations(context: &Context) -> Result<Option<u64>> {

#[cfg(test)]
mod tests {
#![allow(clippy::indexing_slicing)]

use super::*;
use crate::config::Config;
use crate::message::MessageState;
Expand Down

0 comments on commit b300dbd

Please sign in to comment.