expect used

This commit is contained in:
phiresky 2024-12-03 13:37:21 +01:00
parent 79f2e579d8
commit fcd7c6d0eb
2 changed files with 2 additions and 1 deletions

1
Cargo.lock generated
View file

@ -2549,6 +2549,7 @@ dependencies = [
"lemmy_db_views", "lemmy_db_views",
"lemmy_db_views_actor", "lemmy_db_views_actor",
"lemmy_utils", "lemmy_utils",
"regex",
"serde", "serde",
"serde_json", "serde_json",
"serde_with", "serde_with",

View file

@ -633,7 +633,7 @@ impl<'a> PostQuery<'a> {
} }
#[allow(clippy::indexing_slicing)] #[allow(clippy::indexing_slicing)]
#[allow(clippy::unwrap_used)] #[expect(clippy::expect_used)]
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use crate::{ use crate::{