postgres: don't warn without tokio_unstable
This commit is contained in:
parent
7eaa3d8c72
commit
c01a3544bc
|
@ -87,6 +87,7 @@ fn spawn_detach<F: Future + Send + 'static>(
|
||||||
where
|
where
|
||||||
F::Output: Send,
|
F::Output: Send,
|
||||||
{
|
{
|
||||||
|
let _ = name;
|
||||||
Ok(tokio::spawn(future))
|
Ok(tokio::spawn(future))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue