diff options
| author | Fuwn <[email protected]> | 2023-04-08 00:42:05 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-08 00:42:05 +0000 |
| commit | d0369a79c3bea3373446c8620e41ffd3e24c64be (patch) | |
| tree | 2c5f12ea4145228f17fd88827de7a5bcc6e53a3c /src/router.rs | |
| parent | chore(git): ignore vscode configuration files (diff) | |
| download | windmark-0.3.4.tar.xz windmark-0.3.4.zip | |
fix(router): tokio namespacev0.3.4
Diffstat (limited to 'src/router.rs')
| -rw-r--r-- | src/router.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router.rs b/src/router.rs index 0b550c4..f5f6725 100644 --- a/src/router.rs +++ b/src/router.rs @@ -47,8 +47,8 @@ use crate::{ macro_rules! block { ($body:expr) => { - tokio::task::block_in_place(|| { - tokio::runtime::Handle::current().block_on(async { $body }); + ::tokio::task::block_in_place(|| { + ::tokio::runtime::Handle::current().block_on(async { $body }); }); }; } |