cargo fmt

This commit is contained in:
holger krekel
2019-10-07 00:15:15 +02:00
parent 51534b2fae
commit b8f211a013
4 changed files with 42 additions and 37 deletions

View File

@@ -1620,9 +1620,7 @@ pub unsafe extern "C" fn dc_stop_ongoing_process(context: *mut dc_context_t) {
return;
}
let ffi_context = &*context;
ffi_context
.with_inner(|ctx| ctx.stop_ongoing())
.ok();
ffi_context.with_inner(|ctx| ctx.stop_ongoing()).ok();
}
#[no_mangle]