Fix imports

This commit is contained in:
Sergey Pepyakin
2017-12-05 18:54:28 +01:00
parent 15b93038f9
commit 8bd984b10f
2 changed files with 8 additions and 4 deletions

View File

@@ -1,8 +1,10 @@
#![allow(missing_docs)]
use std::fmt;
use elements::{BlockType, External, GlobalEntry, GlobalType, Internal, MemoryType,
Module, Opcode, ResizableLimits, TableType, ValueType, InitExpr};
use elements::{
BlockType, External, GlobalEntry, GlobalType, Internal, MemoryType,
Module, Opcode, ResizableLimits, TableType, ValueType, InitExpr
};
use common::stack;
use self::context::ModuleContext;
use self::func::Validator;

View File

@@ -1,7 +1,9 @@
use super::validate_module;
use builder::module;
use elements::{External, GlobalEntry, GlobalType, ImportEntry, InitExpr, MemoryType,
Opcode, Opcodes, TableType, ValueType, BlockType};
use elements::{
External, GlobalEntry, GlobalType, ImportEntry, InitExpr, MemoryType,
Opcode, Opcodes, TableType, ValueType, BlockType
};
#[test]
fn empty_is_valid() {