Fixing clippy.

This commit is contained in:
Dessalines 2024-12-12 09:27:12 -05:00
parent 216d08959b
commit aa9c1404e5

View file

@ -838,7 +838,7 @@ mod tests {
}
/// A helper function to coerce to a private message type for tests
fn map_to_pm(inbox: &Vec<InboxCombinedView>) -> Vec<PrivateMessageView> {
fn map_to_pm(inbox: &[InboxCombinedView]) -> Vec<PrivateMessageView> {
inbox
.iter()
// Filter map to collect private messages