From 32664f9ea7be98bf9a03a81645b3c0e13b94e804 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 8 Aug 2019 14:14:48 +0200 Subject: [PATCH] fmt --- bindings/rust/evmc-vm/src/types.rs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/bindings/rust/evmc-vm/src/types.rs b/bindings/rust/evmc-vm/src/types.rs index 5d55bbba4..183b70b8d 100644 --- a/bindings/rust/evmc-vm/src/types.rs +++ b/bindings/rust/evmc-vm/src/types.rs @@ -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. @@ -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