mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	chore: enable clippy::trivially_copy_pass_by_ref lint and address it (#6724)
				
					
				
			This commit is contained in:
		| @ -321,10 +321,10 @@ pub fn get_schedule_time( | ||||
|  | ||||
| pub fn get_pm_schedule_time( | ||||
|     mapping: process_data::PaymentMethodsPTMapping, | ||||
|     pm: &enums::PaymentMethod, | ||||
|     pm: enums::PaymentMethod, | ||||
|     retry_count: i32, | ||||
| ) -> Option<i32> { | ||||
|     let mapping = match mapping.custom_pm_mapping.get(pm) { | ||||
|     let mapping = match mapping.custom_pm_mapping.get(&pm) { | ||||
|         Some(map) => map.clone(), | ||||
|         None => mapping.default_mapping, | ||||
|     }; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sanchith Hegde
					Sanchith Hegde