Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Aug 21, 2019
1 parent aa6c9ab commit b18b20e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions bindings/rust/evmc-vm/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ pub type Uint256 = ffi::evmc_uint256be;
/// EVMC message (call) kind.
#[derive(Debug, PartialEq)]
pub enum MessageKind {
Call,
CallCode,
DelegateCall,
Create,
Call,
CallCode,
DelegateCall,
Create,
}

/// EVMC message (call) flags.
Expand Down Expand Up @@ -67,10 +67,7 @@ mod tests {
#[test]
fn message_kind() {
assert_eq!(MessageKind::Call, ffi::evmc_call_kind::EVMC_CALL);
assert_eq!(
MessageKind::CallCode,
ffi::evmc_call_kind::EVMC_CALLCODE
);
assert_eq!(MessageKind::CallCode, ffi::evmc_call_kind::EVMC_CALLCODE);
assert_eq!(
MessageKind::DelegateCall,
ffi::evmc_call_kind::EVMC_DELEGATECALL
Expand Down

0 comments on commit b18b20e

Please sign in to comment.