[Auto] lib/domain/contact: Fix Clippy warnings

Signed-off-by: flip1995 <hello@philkrones.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
flip1995 2019-08-27 10:45:45 +02:00 committed by Matthias Beyer
parent c7ac440c92
commit 1e47f91a67

View file

@ -157,7 +157,7 @@ fn prepare_fetching_from_store(buf: &str) -> Result<(StoreId, Value)> {
debug!("Parsed: {:?}", vcard); debug!("Parsed: {:?}", vcard);
let uid = vcard.uid() let uid = vcard.uid()
.ok_or_else(|| Error::from(format_err!("UID Missing: {}", buf.to_string())))?; .ok_or_else(|| format_err!("UID Missing: {}", buf.to_string()))?;
let value = { // dirty ugly hack let value = { // dirty ugly hack
let serialized = DeserVcard::from(vcard); let serialized = DeserVcard::from(vcard);