Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
adriankumpf authored and dependabot[bot] committed Nov 1, 2022
1 parent 9571568 commit a0eebf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/mail_parser_nif/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn get_attachments(message: &Message) -> Vec<Attachment> {
message
.get_attachments()
.flat_map(|attachment| match attachment.get_message() {
Some(nested_message) => get_attachments(&nested_message),
Some(nested_message) => get_attachments(nested_message),
None => Vec::from([attachment.into()]),
})
.collect()
Expand Down

0 comments on commit a0eebf9

Please sign in to comment.