mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
6bb1c4e89c
* chore: update rustfmt * chore: apply rustfmt format
9 lines
148 B
Rust
9 lines
148 B
Rust
#[macro_export]
|
|
macro_rules! dispatch_future {
|
|
($fut:expr) => {
|
|
DispatchFuture {
|
|
fut: Box::pin(async move { $fut.await }),
|
|
}
|
|
};
|
|
}
|