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:
Chethan Rao
2025-07-02 12:13:07 +05:30
committed by GitHub
parent ad29631c53
commit 20b52f11c3
150 changed files with 464 additions and 647 deletions

View File

@ -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})")
}
}
}