Transition to Rust 2018 style imports

This commit is contained in:
Alexander Theißen
2021-05-26 14:42:53 +02:00
parent ca45220af5
commit 1b0ed1b383
19 changed files with 21 additions and 75 deletions
+1 -5
View File
@@ -1,12 +1,8 @@
extern crate diff;
extern crate pwasm_utils as utils;
extern crate wabt;
extern crate parity_wasm;
use std::fs;
use std::io::{self, Read, Write};
use std::path::{Path, PathBuf};
use parity_wasm::elements;
use pwasm_utils as utils;
fn slurp<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> {
let mut f = fs::File::open(path)?;