use fully qualified path to SendQueue

master
rasul 5 years ago
parent aa9c13444d
commit 01bb588a05

@ -115,7 +115,9 @@ macro_rules! try_send {
match $e {
Ok(r) => r,
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,7 +130,9 @@ macro_rules! option_send {
match $e {
Some(r) => r,
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!(),
line!()
);
return SendQueue::error($i);
return $crate::queue::SendQueue::error($i);
}
Err(e) => {
log::error!(
@ -155,7 +159,7 @@ macro_rules! try_option_send_error {
line!(),
e
);
return SendQueue::error($i);
return $crate::queue::SendQueue::error($i);
}
}
};

Loading…
Cancel
Save