mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
cargo fmt
This commit is contained in:
@@ -1364,13 +1364,12 @@ impl Imap {
|
||||
|
||||
let set = format!("{}", uid);
|
||||
|
||||
let fetched_msgs =
|
||||
if let Some(ref mut session) = &mut *self.session.lock().unwrap() {
|
||||
let fetched_msgs = if let Some(ref mut session) = &mut *self.session.lock().unwrap() {
|
||||
match session.uid_fetch(set, FETCH_FLAGS) {
|
||||
Ok(res) => res,
|
||||
Err(err) => {
|
||||
eprintln!("fetch error: {:?}", err);
|
||||
return ImapResult::Failed
|
||||
return ImapResult::Failed;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user