Fromatting of Evm::exec

This commit is contained in:
Tomusdrw 2016-01-14 11:00:29 +01:00
parent ebd7081d59
commit f1ef2792e8

View File

@ -51,6 +51,7 @@ impl<S : fmt::Display> Stack<S> for Vec<S> {
fn pop_n(&mut self, no_of_elems: usize) -> Vec<S> { fn pop_n(&mut self, no_of_elems: usize) -> Vec<S> {
let mut vec = Vec::new(); let mut vec = Vec::new();
for _i in 1..no_of_elems+1 { for _i in 1..no_of_elems+1 {
vec.push(self.pop_back()); vec.push(self.pop_back());
} }