Skip to content

Commit 4959a73

Browse files
Copilot0xrinegade
andcommitted
Fix rustfmt formatting for matches! expressions
Co-authored-by: 0xrinegade <[email protected]>
1 parent 5019704 commit 4959a73

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

tests/deployment_integration_tests.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -325,16 +325,9 @@ fn test_commitment_config_variations() {
325325
for config in configs {
326326
// Test that commitment configs can be used properly
327327
assert!(
328-
matches!(
329-
config.commitment,
330-
CommitmentLevel::Processed
331-
) || matches!(
332-
config.commitment,
333-
CommitmentLevel::Confirmed
334-
) || matches!(
335-
config.commitment,
336-
CommitmentLevel::Finalized
337-
)
328+
matches!(config.commitment, CommitmentLevel::Processed)
329+
|| matches!(config.commitment, CommitmentLevel::Confirmed)
330+
|| matches!(config.commitment, CommitmentLevel::Finalized)
338331
);
339332
}
340333
}

0 commit comments

Comments
 (0)