fix: profile_tokio broken due to incompatible types
This commit is contained in:
committed by
Thomas Colliers
parent
877a32ab09
commit
0451716e1e
@@ -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