mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-30 22:42:11 +00:00
fix "unused Result
that must be used" warnings (#1882)
This commit is contained in:
parent
a2691b9635
commit
56d5283ef4
@ -976,7 +976,7 @@ async fn test_pg_listener_allows_pool_to_close() -> anyhow::Result<()> {
|
||||
let mut listener = PgListener::connect_with(&pool).await?;
|
||||
|
||||
sqlx_rt::spawn(async move {
|
||||
listener.recv().await;
|
||||
listener.recv().await.unwrap();
|
||||
});
|
||||
|
||||
// would previously hang forever since `PgListener` had no way to know the pool wanted to close
|
||||
|
Loading…
x
Reference in New Issue
Block a user