Skip to content

Commit

Permalink
fix: some lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
skanehira committed Aug 19, 2024
1 parent 93fe188 commit addad91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
5 changes: 1 addition & 4 deletions src/binary/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ use super::{section::*, types::*};
use anyhow::{bail, Result};
use num_traits::FromPrimitive;
use std::io;
use std::{
io::{BufRead, BufReader, Read},
u8,
};
use std::io::{BufRead, BufReader, Read};

#[derive(Debug, Default)]
pub struct Module {
Expand Down
1 change: 0 additions & 1 deletion src/execution/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use anyhow::{bail, Context as _, Result};
use log::trace;
use num_traits::NumCast;
use std::fmt::Display;
use std::i64;
use std::mem::size_of;
use std::rc::Rc;

Expand Down
7 changes: 2 additions & 5 deletions tests/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
mod importer {
use anyhow::{bail, Context as _, Result};
use chibiwasm::{
module::{ExternalFuncInst, FuncInst, GlobalInst, InternalTableInst, InternalMemoryInst},
module::{ExternalFuncInst, FuncInst, GlobalInst, InternalMemoryInst, InternalTableInst},
ExternalVal, Importer, Runtime, Store, Value,
};
use std::{cell::RefCell, collections::HashMap, rc::Rc};

#[derive(Default, Clone)]
pub struct Imports(pub HashMap<String, Import>);
use std::{cell::RefCell, rc::Rc};

#[derive(Clone)]
pub struct Import((String, Rc<RefCell<Store>>));
Expand Down

0 comments on commit addad91

Please sign in to comment.