From b2a2791f6ff9e00c118e5548a266b39235e6a67f Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Thu, 8 Aug 2019 00:35:27 +0200 Subject: [PATCH] cargo fmt --- src/dc_msg.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/dc_msg.rs b/src/dc_msg.rs index 6f0490dcf..b09d0b467 100644 --- a/src/dc_msg.rs +++ b/src/dc_msg.rs @@ -800,15 +800,15 @@ pub unsafe fn dc_msg_get_summary<'a>( } } if ok_to_continue { - let contact = if (*msg).from_id != DC_CONTACT_ID_SELF as libc::c_uint - && ((*chat).type_0 == 120 || (*chat).type_0 == 130) - { - Contact::get_by_id((*chat).context, (*msg).from_id).ok() - } else { - None - }; + let contact = if (*msg).from_id != DC_CONTACT_ID_SELF as libc::c_uint + && ((*chat).type_0 == 120 || (*chat).type_0 == 130) + { + Contact::get_by_id((*chat).context, (*msg).from_id).ok() + } else { + None + }; - dc_lot_fill(ret, msg, chat, contact.as_ref(), (*msg).context); + dc_lot_fill(ret, msg, chat, contact.as_ref(), (*msg).context); } }