aboutsummaryrefslogtreecommitdiff
path: root/src
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
commitdd818f09538299a14b5a172725830c25215b9b60 (patch)
tree2c5f12ea4145228f17fd88827de7a5bcc6e53a3c /src
parentchore(git): ignore vscode configuration files (diff)
downloadwindmark-dd818f09538299a14b5a172725830c25215b9b60.tar.xz
windmark-dd818f09538299a14b5a172725830c25215b9b60.zip
fix(router): tokio namespace
Diffstat (limited to 'src')
-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 });
});
};
}