From 0921dffd866d3a675c7566d77cc8e2ffdc4c6f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Tue, 20 Sep 2016 16:25:22 +0200 Subject: [PATCH] Fixing trait definition --- ethcore/src/evm/evm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/evm/evm.rs b/ethcore/src/evm/evm.rs index f399f57bb..8d2202480 100644 --- a/ethcore/src/evm/evm.rs +++ b/ethcore/src/evm/evm.rs @@ -113,7 +113,7 @@ impl<'a> Finalize for Result> { } /// Cost calculation type. For low-gas usage we calculate costs using usize instead of U256 -pub trait CostType: Sized : From + Copy +pub trait CostType: Sized + From + Copy + ops::Mul + ops::Div + ops::Add +ops::Sub + ops::Shr + ops::Shl + cmp::Ord + fmt::Debug {