mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	chore: address Rust 1.75 clippy lints (#3231)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -196,16 +196,6 @@ impl QrImage { | ||||
|     } | ||||
| } | ||||
|  | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use crate::utils; | ||||
|     #[test] | ||||
|     fn test_image_data_source_url() { | ||||
|         let qr_image_data_source_url = utils::QrImage::new_from_data("Hyperswitch".to_string()); | ||||
|         assert!(qr_image_data_source_url.is_ok()); | ||||
|     } | ||||
| } | ||||
|  | ||||
| pub async fn find_payment_intent_from_payment_id_type( | ||||
|     db: &dyn StorageInterface, | ||||
|     payment_id_type: payments::PaymentIdType, | ||||
| @ -804,3 +794,13 @@ pub async fn flatten_join_error<T>(handle: Handle<T>) -> RouterResult<T> { | ||||
|             .attach_printable("Join Error"), | ||||
|     } | ||||
| } | ||||
|  | ||||
| #[cfg(test)] | ||||
| mod tests { | ||||
|     use crate::utils; | ||||
|     #[test] | ||||
|     fn test_image_data_source_url() { | ||||
|         let qr_image_data_source_url = utils::QrImage::new_from_data("Hyperswitch".to_string()); | ||||
|         assert!(qr_image_data_source_url.is_ok()); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Chethan Rao
					Chethan Rao