Fromatting of Evm::exec
This commit is contained in:
parent
ebd7081d59
commit
f1ef2792e8
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user