Run cargo fix on a few of the worst offenders (#10854)

* Run cargo fix on `vm`

* Run cargo fix on ethcore-db

* Run cargo fix on evm

* Run cargo fix on ethcore-light

* Run cargo fix on journaldb

* Run cargo fix on wasm

* Missing docs

* Run cargo fix on ethcore-sync
This commit is contained in:
David
2019-07-09 10:04:20 +02:00
committed by Seun LanLege
parent fdc7b0fdaa
commit f53c3e582c
46 changed files with 369 additions and 368 deletions

View File

@@ -32,7 +32,7 @@ pub struct RuntimeContext {
pub struct Runtime<'a> {
gas_counter: u64,
gas_limit: u64,
ext: &'a mut vm::Ext,
ext: &'a mut dyn vm::Ext,
context: RuntimeContext,
memory: MemoryRef,
args: Vec<u8>,
@@ -147,7 +147,7 @@ impl<'a> Runtime<'a> {
/// New runtime for wasm contract with specified params
pub fn with_params(
ext: &mut vm::Ext,
ext: &mut dyn vm::Ext,
memory: MemoryRef,
gas_limit: u64,
args: Vec<u8>,