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