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 -3
View File
@@ -771,10 +771,8 @@ pub fn generate(f: &Module) -> Result<Vec<u8>, Error> {
#[cfg(test)]
mod tests {
extern crate wabt;
use parity_wasm::elements;
use indoc::indoc;
fn load_sample(wat: &'static str) -> super::Module {
super::parse(&wabt::wat2wasm(wat).expect("faled to parse wat!")[..])