use fully qualified path to SendQueue

master
rasul 5 years ago
parent aa9c13444d
commit 01bb588a05

@ -115,9 +115,11 @@ macro_rules! try_send {
match $e { match $e {
Ok(r) => r, Ok(r) => r,
Err(_e) => { Err(_e) => {
return SendQueue(vec![($i, std::fmt::format(format_args!($($arg)*)), true)].into()); return $crate::queue::SendQueue(
} vec![($i, std::fmt::format(format_args!($($arg)*)), true)].into()
);
} }
}
}; };
} }
@ -128,9 +130,11 @@ macro_rules! option_send {
match $e { match $e {
Some(r) => r, Some(r) => r,
None => { None => {
return SendQueue(vec![($i, std::fmt::format(format_args!($($arg)*)), true)].into()); return $crate::queue::SendQueue(
} vec![($i, std::fmt::format(format_args!($($arg)*)), true)].into()
);
} }
}
}; };
} }
@ -146,7 +150,7 @@ macro_rules! try_option_send_error {
file!(), file!(),
line!() line!()
); );
return SendQueue::error($i); return $crate::queue::SendQueue::error($i);
} }
Err(e) => { Err(e) => {
log::error!( log::error!(
@ -155,7 +159,7 @@ macro_rules! try_option_send_error {
line!(), line!(),
e e
); );
return SendQueue::error($i); return $crate::queue::SendQueue::error($i);
} }
} }
}; };

Loading…
Cancel
Save