mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	chore: address Rust 1.78 clippy lints (#4545)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -99,7 +99,7 @@ pub mod error_parser { | ||||
|     } | ||||
|  | ||||
|     pub fn custom_json_error_handler(err: JsonPayloadError, _req: &HttpRequest) -> Error { | ||||
|         actix_web::error::Error::from(CustomJsonError { err }) | ||||
|         Error::from(CustomJsonError { err }) | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -565,14 +565,14 @@ pub fn add_connector_http_status_code_metrics(option_status_code: Option<u16>) { | ||||
| pub trait CustomerAddress { | ||||
|     async fn get_address_update( | ||||
|         &self, | ||||
|         address_details: api_models::payments::AddressDetails, | ||||
|         address_details: payments::AddressDetails, | ||||
|         key: &[u8], | ||||
|         storage_scheme: storage::enums::MerchantStorageScheme, | ||||
|     ) -> CustomResult<storage::AddressUpdate, common_utils::errors::CryptoError>; | ||||
|  | ||||
|     async fn get_domain_address( | ||||
|         &self, | ||||
|         address_details: api_models::payments::AddressDetails, | ||||
|         address_details: payments::AddressDetails, | ||||
|         merchant_id: &str, | ||||
|         customer_id: &str, | ||||
|         key: &[u8], | ||||
| @ -584,7 +584,7 @@ pub trait CustomerAddress { | ||||
| impl CustomerAddress for api_models::customers::CustomerRequest { | ||||
|     async fn get_address_update( | ||||
|         &self, | ||||
|         address_details: api_models::payments::AddressDetails, | ||||
|         address_details: payments::AddressDetails, | ||||
|         key: &[u8], | ||||
|         storage_scheme: storage::enums::MerchantStorageScheme, | ||||
|     ) -> CustomResult<storage::AddressUpdate, common_utils::errors::CryptoError> { | ||||
| @ -640,7 +640,7 @@ impl CustomerAddress for api_models::customers::CustomerRequest { | ||||
|  | ||||
|     async fn get_domain_address( | ||||
|         &self, | ||||
|         address_details: api_models::payments::AddressDetails, | ||||
|         address_details: payments::AddressDetails, | ||||
|         merchant_id: &str, | ||||
|         customer_id: &str, | ||||
|         key: &[u8], | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Chethan Rao
					Chethan Rao