aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 });
});
};
}