Fix nightly clippy warning
This commit is contained in:
parent
cb9df750fd
commit
a610283861
1 changed files with 1 additions and 3 deletions
|
|
@ -131,9 +131,7 @@ pub fn parse_fetches(
|
||||||
use imap_proto::AttributeValue;
|
use imap_proto::AttributeValue;
|
||||||
match attr {
|
match attr {
|
||||||
AttributeValue::Flags(flags) => {
|
AttributeValue::Flags(flags) => {
|
||||||
fetch
|
fetch.flags.extend(flags.iter().cloned().map(Flag::from));
|
||||||
.flags
|
|
||||||
.extend(flags.into_iter().cloned().map(Flag::from));
|
|
||||||
}
|
}
|
||||||
AttributeValue::Uid(uid) => fetch.uid = Some(*uid),
|
AttributeValue::Uid(uid) => fetch.uid = Some(*uid),
|
||||||
AttributeValue::Rfc822Size(sz) => fetch.size = Some(*sz),
|
AttributeValue::Rfc822Size(sz) => fetch.size = Some(*sz),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue