fix: profile_tokio broken due to incompatible types

This commit is contained in:
Thomas Colliers
2025-08-15 23:19:27 +02:00
committed by Thomas Colliers
parent 877a32ab09
commit 0451716e1e

View File

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