mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
chore: add lints in workspace cargo config (#223)
This commit is contained in:
@ -102,9 +102,9 @@ pub enum RecordType {
|
||||
impl fmt::Display for RecordType {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
let repr = match self {
|
||||
RecordType::EnterSpan => "START",
|
||||
RecordType::ExitSpan => "END",
|
||||
RecordType::Event => "EVENT",
|
||||
Self::EnterSpan => "START",
|
||||
Self::ExitSpan => "END",
|
||||
Self::Event => "EVENT",
|
||||
};
|
||||
write!(f, "{}", repr)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user