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:
@ -37,7 +37,7 @@ impl Display for Comparison {
|
||||
Self::LessThanEqual => "<= ",
|
||||
Self::GreaterThan => "> ",
|
||||
};
|
||||
write!(f, "{}", symbol)
|
||||
write!(f, "{symbol}")
|
||||
}
|
||||
}
|
||||
|
||||
@ -74,7 +74,7 @@ impl ValueType {
|
||||
Self::Any => format!("{key}(any)"),
|
||||
Self::EnumVariant(s) => format!("{key}({s})"),
|
||||
Self::Number { number, comparison } => {
|
||||
format!("{}({}{})", key, comparison, number)
|
||||
format!("{key}({comparison}{number})")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user