diff --git a/fang/src/asynk/async_queue.rs b/fang/src/asynk/async_queue.rs index a89bc1f..5c76052 100644 --- a/fang/src/asynk/async_queue.rs +++ b/fang/src/asynk/async_queue.rs @@ -274,7 +274,8 @@ async fn get_pool( Ok(InternalPool::Sqlite(pool)) } - _ => Err(AsyncQueueError::NotConnectedError), + #[allow(unreachable_patterns)] + _ => Err(AsyncQueueError::ConnectionError), } }