fix: profile_tokio broken due to incompatible types
This commit is contained in:
committed by
Schmarni
parent
7a3322efad
commit
a7aa609651
@@ -17,6 +17,6 @@ pub fn new<
|
||||
#[cfg(feature = "profile_tokio")]
|
||||
let result = tokio::task::Builder::new()
|
||||
.name(name_fn().as_ref())
|
||||
.spawn(async_future);
|
||||
.spawn(async_future).map_err(Into::into);
|
||||
result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user