mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: add missing allow(dead_code) attribute to block_on method
This commit is contained in:
@@ -34,6 +34,7 @@ impl AsyncHandler {
|
|||||||
async_runtime::spawn_blocking(f)
|
async_runtime::spawn_blocking(f)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
pub fn block_on<Fut>(fut: Fut) -> Fut::Output
|
pub fn block_on<Fut>(fut: Fut) -> Fut::Output
|
||||||
where
|
where
|
||||||
|
|||||||
Reference in New Issue
Block a user