cargo fmt

This commit is contained in:
Alexander Krotov
2019-12-14 22:28:15 +01:00
parent ad700b45d0
commit 3f49492ccf
2 changed files with 73 additions and 72 deletions

View File

@@ -542,13 +542,14 @@ fn try_imap_one_param(context: &Context, param: &LoginParam) -> Option<bool> {
param.imap_certificate_checks param.imap_certificate_checks
); );
info!(context, "Trying: {}", inf); info!(context, "Trying: {}", inf);
if task::block_on(context if task::block_on(
context
.inbox_thread .inbox_thread
.read() .read()
.unwrap() .unwrap()
.imap .imap
.connect(context, &param)) .connect(context, &param),
{ ) {
info!(context, "success: {}", inf); info!(context, "success: {}", inf);
return Some(true); return Some(true);
} }