fix: add missing allow(dead_code) attribute to block_on method

This commit is contained in:
Tunglies
2025-08-31 16:22:35 +08:00
parent 9110955b63
commit b13fef5ad9

View File

@@ -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