jobs-actix: avoid warning when not(tokio_unstable)

This commit is contained in:
asonix 2024-01-10 21:15:03 -06:00
parent 72f4fc1cdc
commit 42bc58bc94

View file

@ -15,5 +15,6 @@ pub(crate) fn spawn<F>(name: &str, future: F) -> std::io::Result<JoinHandle<F::O
where
F: Future + 'static,
{
let _ = name;
Ok(tokio::task::spawn_local(future))
}