cargo fmt

This commit is contained in:
holger krekel
2019-08-20 09:31:05 +02:00
parent 9633f251e0
commit f47e637519

View File

@@ -1364,13 +1364,12 @@ impl Imap {
let set = format!("{}", uid); let set = format!("{}", uid);
let fetched_msgs = let fetched_msgs = if let Some(ref mut session) = &mut *self.session.lock().unwrap() {
if let Some(ref mut session) = &mut *self.session.lock().unwrap() {
match session.uid_fetch(set, FETCH_FLAGS) { match session.uid_fetch(set, FETCH_FLAGS) {
Ok(res) => res, Ok(res) => res,
Err(err) => { Err(err) => {
eprintln!("fetch error: {:?}", err); eprintln!("fetch error: {:?}", err);
return ImapResult::Failed return ImapResult::Failed;
} }
} }
} else { } else {