Skip to content

Commit 3d84c51

Browse files
committed
fmt
1 parent 0fee32f commit 3d84c51

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

bindings/rust/evmc-vm/src/types.rs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ pub type Uint256 = ffi::evmc_uint256be;
1212
/// EVMC message (call) kind.
1313
#[derive(Debug, PartialEq)]
1414
pub enum MessageKind {
15-
Call,
16-
CallCode,
17-
DelegateCall,
18-
Create,
15+
Call,
16+
CallCode,
17+
DelegateCall,
18+
Create,
1919
}
2020

2121
/// EVMC message (call) flags.
@@ -67,10 +67,7 @@ mod tests {
6767
#[test]
6868
fn message_kind() {
6969
assert_eq!(MessageKind::Call, ffi::evmc_call_kind::EVMC_CALL);
70-
assert_eq!(
71-
MessageKind::CallCode,
72-
ffi::evmc_call_kind::EVMC_CALLCODE
73-
);
70+
assert_eq!(MessageKind::CallCode, ffi::evmc_call_kind::EVMC_CALLCODE);
7471
assert_eq!(
7572
MessageKind::DelegateCall,
7673
ffi::evmc_call_kind::EVMC_DELEGATECALL

0 commit comments

Comments
 (0)