mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	chore: address Rust 1.88.0 clippy lints (#8498)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -187,10 +187,10 @@ impl Serialize for ElementSize { | ||||
|         match self { | ||||
|             Self::Variants(variant) => serializer.serialize_str(variant.to_string().as_str()), | ||||
|             Self::Pixels(pixel_count) => { | ||||
|                 serializer.serialize_str(format!("{}px", pixel_count).as_str()) | ||||
|                 serializer.serialize_str(format!("{pixel_count}px").as_str()) | ||||
|             } | ||||
|             Self::Percentage(pixel_count) => { | ||||
|                 serializer.serialize_str(format!("{}%", pixel_count).as_str()) | ||||
|                 serializer.serialize_str(format!("{pixel_count}%").as_str()) | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Chethan Rao
					Chethan Rao