mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +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:
@ -338,7 +338,7 @@ where
|
||||
}
|
||||
|
||||
if let Some(segments) = segments.first() {
|
||||
write!(f, "{}.**.**.**", segments)
|
||||
write!(f, "{segments}.**.**.**")
|
||||
} else {
|
||||
#[cfg(feature = "logs")]
|
||||
logger::error!("Invalid IP address: {val_str}");
|
||||
|
||||
Reference in New Issue
Block a user