Skip to content

Commit

Permalink
lint(fmt): fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfertel committed Mar 19, 2024
1 parent 03cddd1 commit 866fe3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion contracts/token/src/erc20/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ impl ERC20 {

#[cfg(test)]
mod tests {
use crate::erc20::ERC20;
use alloy_primitives::{address, Address, U256};
use stylus_sdk::{
msg,
Expand All @@ -361,6 +360,8 @@ mod tests {
#[allow(unused_imports)]
use wavm_shims::*;

use crate::erc20::ERC20;

fn init_token() -> ERC20 {
let root = U256::ZERO;
let token = ERC20 {
Expand Down
6 changes: 2 additions & 4 deletions lib/wavm-shims/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
//! Shim crate to mock Stylus's `vm_hooks`.
use std::{collections::HashMap, ptr, slice, sync::Mutex};

use once_cell::sync::Lazy;
use std::collections::HashMap;
use std::ptr;
use std::slice;
use std::sync::Mutex;
use tiny_keccak::{Hasher, Keccak};

pub const WORD_BYTES: usize = 32;
Expand Down

0 comments on commit 866fe3f

Please sign in to comment.