From d0369a79c3bea3373446c8620e41ffd3e24c64be Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 8 Apr 2023 00:42:05 +0000 Subject: fix(router): tokio namespace --- src/router.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 }); }); }; } -- cgit v1.2.3