Fixing trait definition

This commit is contained in:
Tomasz Drwięga 2016-09-20 16:25:22 +02:00
parent b6df3759c8
commit 0921dffd86
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ impl<'a> Finalize for Result<GasLeft<'a>> {
}
/// Cost calculation type. For low-gas usage we calculate costs using usize instead of U256
pub trait CostType: Sized : From<usize> + Copy
pub trait CostType: Sized + From<usize> + Copy
+ ops::Mul<Output=Self> + ops::Div<Output=Self> + ops::Add<Output=Self> +ops::Sub<Output=Self>
+ ops::Shr<usize, Output=Self> + ops::Shl<usize, Output=Self>
+ cmp::Ord + fmt::Debug {