Fix warnings when compiling runtime. (#4332)

* Remove warnings when compiling runtime.

* Remove dispatch::Result imports.

* Add missing imports.

* Fix missing vecs. #4333

* Fix oom function.

* Remove superfluous import.

* More warnings.
This commit is contained in:
Tomasz Drwięga authored and Bastian Köcher committed 2019-12-10 14:21:34 +01:00
1 parent 057e298b1f
commit 1f84d6d41d
25 files changed
+104 -87

No files matched your search

@@ -238,7 +238,7 @@ impl ModuleDeclaration {
fn default_modules(span: Span) -> Vec<ModulePart> {
let mut res: Vec<_> = ["Module", "Call", "Storage"]
.into_iter()
.iter()
.map(|name| ModulePart::with_name(name, span))
.collect();
res.extend(