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 Schmarni
parent 7a3322efad
commit a7aa609651

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
}