mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 23:36:30 +03:00
cargo fmt
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user