mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	chore: address Rust 1.87.0 clippy lints (#8130)
This commit is contained in:
		| @ -45,6 +45,6 @@ async fn main() -> ApplicationResult<()> { | ||||
|     let _ = server.await; | ||||
|  | ||||
|     Err(error_stack::Report::from(ApplicationError::from( | ||||
|         std::io::Error::new(std::io::ErrorKind::Other, "Server shut down"), | ||||
|         std::io::Error::other("Server shut down"), | ||||
|     ))) | ||||
| } | ||||
|  | ||||
| @ -2008,9 +2008,11 @@ pub fn decide_payment_method_retrieval_action( | ||||
|         ) | ||||
|     }; | ||||
|  | ||||
|     should_retry_with_pan | ||||
|         .then_some(VaultFetchAction::FetchCardDetailsFromLocker) | ||||
|         .unwrap_or_else(standard_flow) | ||||
|     if should_retry_with_pan { | ||||
|         VaultFetchAction::FetchCardDetailsFromLocker | ||||
|     } else { | ||||
|         standard_flow() | ||||
|     } | ||||
| } | ||||
|  | ||||
| pub fn determine_standard_vault_action( | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Gaurav Rawat
					Gaurav Rawat