mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	chore: address Rust 1.72 clippy lints (#2099)
This commit is contained in:
		| @ -9,7 +9,7 @@ pub type PgPool = bb8::Pool<async_bb8_diesel::ConnectionManager<PgConnection>>; | ||||
|  | ||||
| pub type PgPooledConn = async_bb8_diesel::Connection<PgConnection>; | ||||
|  | ||||
| /// | ||||
| /// Creates a Redis connection pool for the specified Redis settings | ||||
| /// # Panics | ||||
| /// | ||||
| /// Panics if failed to create a redis pool | ||||
|  | ||||
| @ -25,7 +25,7 @@ use uuid::Uuid; | ||||
|  | ||||
| pub use self::{ | ||||
|     ext_traits::{OptionExt, ValidateCall}, | ||||
|     storage::*, | ||||
|     storage::PaymentIntent, | ||||
| }; | ||||
| use crate::{ | ||||
|     consts, | ||||
|  | ||||
| @ -7,6 +7,10 @@ pub type PgPool = bb8::Pool<async_bb8_diesel::ConnectionManager<PgConnection>>; | ||||
|  | ||||
| pub type PgPooledConn = async_bb8_diesel::Connection<PgConnection>; | ||||
|  | ||||
| /// Creates a Redis connection pool for the specified Redis settings | ||||
| /// # Panics | ||||
| /// | ||||
| /// Panics if failed to create a redis pool | ||||
| #[allow(clippy::expect_used)] | ||||
| pub async fn redis_connection( | ||||
|     redis: &redis_interface::RedisSettings, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shankar Singh C
					Shankar Singh C