diff --git a/contracts-proc/src/interface.rs b/contracts-proc/src/interface.rs index d4f4e6a1..6fa40c4b 100644 --- a/contracts-proc/src/interface.rs +++ b/contracts-proc/src/interface.rs @@ -3,7 +3,7 @@ use std::mem; use convert_case::{Case, Casing}; use proc_macro::TokenStream; use proc_macro2::Ident; -use quote::{quote, ToTokens}; +use quote::quote; use syn::{ parse::{Parse, ParseStream}, parse_macro_input, FnArg, ItemTrait, LitStr, Result, Token, TraitItem, diff --git a/contracts-proc/src/lib.rs b/contracts-proc/src/lib.rs index 677b5507..6060d236 100644 --- a/contracts-proc/src/lib.rs +++ b/contracts-proc/src/lib.rs @@ -2,7 +2,6 @@ extern crate proc_macro; use proc_macro::TokenStream; -use syn::parse::Parse; /// Shorthand to print nice errors. macro_rules! error { diff --git a/examples/erc721/src/lib.rs b/examples/erc721/src/lib.rs index 836b4b82..a707e070 100644 --- a/examples/erc721/src/lib.rs +++ b/examples/erc721/src/lib.rs @@ -5,12 +5,9 @@ use alloc::vec::Vec; use alloy_primitives::{Address, FixedBytes, U256}; use openzeppelin_stylus::{ - token::{ - erc20::{Erc20, IErc20}, - erc721::{ - extensions::{Erc721Enumerable as Enumerable, IErc721Burnable}, - Erc721, IErc721, - }, + token::erc721::{ + extensions::{Erc721Enumerable as Enumerable, IErc721Burnable}, + Erc721, IErc721, }, utils::Pausable, };