mirror of
https://git.asonix.dog/asonix/background-jobs.git
synced 2024-11-21 19:40:59 +00:00
jobs-actix: avoid warning when not(tokio_unstable)
This commit is contained in:
parent
72f4fc1cdc
commit
42bc58bc94
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue