mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-11 04:21:12 +01:00
Remove unnecessary async/.await (src/dispatching/dispatcher.rs)
This commit is contained in:
parent
bc89fe7b01
commit
1d601a99c2
1 changed files with 2 additions and 2 deletions
|
@ -21,12 +21,12 @@ mod macros {
|
|||
/// Pushes an update to a queue.
|
||||
macro_rules! send {
|
||||
($bot:expr, $tx:expr, $update:expr, $variant:expr) => {
|
||||
send($bot, $tx, $update, stringify!($variant)).await;
|
||||
send($bot, $tx, $update, stringify!($variant));
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
async fn send<'a, Upd>(
|
||||
fn send<'a, Upd>(
|
||||
bot: &'a Arc<Bot>,
|
||||
tx: &'a Tx<Upd>,
|
||||
update: Upd,
|
||||
|
|
Loading…
Reference in a new issue