diff --git a/Cargo.lock b/Cargo.lock index f2463c19c..ec88fba3a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2549,6 +2549,7 @@ dependencies = [ "lemmy_db_views", "lemmy_db_views_actor", "lemmy_utils", + "regex", "serde", "serde_json", "serde_with", diff --git a/crates/db_views/src/post_view.rs b/crates/db_views/src/post_view.rs index 6c1684a25..b66a73509 100644 --- a/crates/db_views/src/post_view.rs +++ b/crates/db_views/src/post_view.rs @@ -633,7 +633,7 @@ impl<'a> PostQuery<'a> { } #[allow(clippy::indexing_slicing)] -#[allow(clippy::unwrap_used)] +#[expect(clippy::expect_used)] #[cfg(test)] mod tests { use crate::{