diff --git a/crates/db_views_actor/src/inbox_combined_view.rs b/crates/db_views_actor/src/inbox_combined_view.rs index 30c204aa7..7b28daf2c 100644 --- a/crates/db_views_actor/src/inbox_combined_view.rs +++ b/crates/db_views_actor/src/inbox_combined_view.rs @@ -838,7 +838,7 @@ mod tests { } /// A helper function to coerce to a private message type for tests - fn map_to_pm(inbox: &Vec) -> Vec { + fn map_to_pm(inbox: &[InboxCombinedView]) -> Vec { inbox .iter() // Filter map to collect private messages