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
No known key found for this signature in database
GPG Key ID: B9B01B389469B3E8

View File

@ -34,6 +34,7 @@ impl AsyncHandler {
async_runtime::spawn_blocking(f)
}
#[allow(dead_code)]
#[track_caller]
pub fn block_on<Fut>(fut: Fut) -> Fut::Output
where