Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
pxp9 committed Apr 15, 2024
1 parent edf744a commit f0ae9fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fang/src/asynk/async_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ async fn get_pool(

Ok(InternalPool::Sqlite(pool))
}
_ => Err(AsyncQueueError::NotConnectedError),
#[allow(unreachable_patterns)]
_ => Err(AsyncQueueError::ConnectionError),
}
}

Expand Down

0 comments on commit f0ae9fe

Please sign in to comment.