[Auto] lib/domain/mail: Fix Clippy warnings
Signed-off-by: flip1995 <hello@philkrones.com> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
76878beb66
commit
5f38265545
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ impl<'a> MailStore<'a> for Store {
|
||||||
let new_sid = crate::module_path::new_id(message_id.clone())?;
|
let new_sid = crate::module_path::new_id(message_id.clone())?;
|
||||||
|
|
||||||
let mut entry = self.create(new_sid)?;
|
let mut entry = self.create(new_sid)?;
|
||||||
let _ = entry
|
entry
|
||||||
.as_ref_with_hasher_mut::<MailHasher>()
|
.as_ref_with_hasher_mut::<MailHasher>()
|
||||||
.make_ref(p, collection_name, config, false)?;
|
.make_ref(p, collection_name, config, false)?;
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ impl<'a> MailStore<'a> for Store {
|
||||||
.get_header_mut()
|
.get_header_mut()
|
||||||
.insert("mail.message-id", Value::String(message_id))?;
|
.insert("mail.message-id", Value::String(message_id))?;
|
||||||
|
|
||||||
let _ = entry
|
entry
|
||||||
.as_ref_with_hasher_mut::<DefaultHasher>()
|
.as_ref_with_hasher_mut::<DefaultHasher>()
|
||||||
.make_ref(p, collection_name, config, false)?;
|
.make_ref(p, collection_name, config, false)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue