aboutsummaryrefslogtreecommitdiff
path: root/src/router.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-08 00:42:05 +0000
committerFuwn <[email protected]>2023-04-08 00:42:05 +0000
commitd0369a79c3bea3373446c8620e41ffd3e24c64be (patch)
tree2c5f12ea4145228f17fd88827de7a5bcc6e53a3c /src/router.rs
parentchore(git): ignore vscode configuration files (diff)
downloadwindmark-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.rs4
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 });
});
};
}