We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fee32f commit 3d84c51Copy full SHA for 3d84c51
bindings/rust/evmc-vm/src/types.rs
@@ -12,10 +12,10 @@ pub type Uint256 = ffi::evmc_uint256be;
12
/// EVMC message (call) kind.
13
#[derive(Debug, PartialEq)]
14
pub enum MessageKind {
15
- Call,
16
- CallCode,
17
- DelegateCall,
18
- Create,
+ Call,
+ CallCode,
+ DelegateCall,
+ Create,
19
}
20
21
/// EVMC message (call) flags.
@@ -67,10 +67,7 @@ mod tests {
67
#[test]
68
fn message_kind() {
69
assert_eq!(MessageKind::Call, ffi::evmc_call_kind::EVMC_CALL);
70
- assert_eq!(
71
- MessageKind::CallCode,
72
- ffi::evmc_call_kind::EVMC_CALLCODE
73
- );
+ assert_eq!(MessageKind::CallCode, ffi::evmc_call_kind::EVMC_CALLCODE);
74
assert_eq!(
75
MessageKind::DelegateCall,
76
ffi::evmc_call_kind::EVMC_DELEGATECALL
0 commit comments