mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-22 10:51:29 +00:00
Fixing clippy.
This commit is contained in:
parent
216d08959b
commit
aa9c1404e5
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A helper function to coerce to a private message type for 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
|
inbox
|
||||||
.iter()
|
.iter()
|
||||||
// Filter map to collect private messages
|
// Filter map to collect private messages
|
||||||
|
|
Loading…
Reference in a new issue