mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
chore: address Rust 1.72 clippy lints (#2011)
Co-authored-by: Sampras Lopes <lsampras@pm.me>
This commit is contained in:
@ -18,6 +18,10 @@ pub async fn redis_connection(
|
||||
.expect("Failed to create Redis connection Pool")
|
||||
}
|
||||
|
||||
// TODO: use stores defined in storage_impl instead
|
||||
/// # Panics
|
||||
///
|
||||
/// Will panic if could not create a db pool
|
||||
#[allow(clippy::expect_used)]
|
||||
pub async fn diesel_make_pg_pool(
|
||||
database: &Database,
|
||||
|
||||
Reference in New Issue
Block a user