Skip to content

Commit

Permalink
ci: fix new 1.75 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Jan 10, 2024
1 parent 8dd5d49 commit dfb05e9
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion near-contract-standards/src/fungible_token/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ pub mod storage_impl;

pub use crate::fungible_token::core::FungibleTokenCore;
pub use core_impl::{Balance, FungibleToken};
pub use macros::*;
pub use resolver::FungibleTokenResolver;
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
mod approval_impl;
mod approval_receiver;

pub use approval_impl::*;
pub use approval_receiver::*;

use crate::non_fungible_token::token::TokenId;
Expand Down
1 change: 0 additions & 1 deletion near-contract-standards/src/non_fungible_token/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pub use self::token::{Token, TokenId};
mod utils;
pub use utils::*;

pub use macros::*;

pub use self::approval::NonFungibleTokenApproval;
pub use self::core::NonFungibleToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ impl AttrSigInfo {
}
}

pub fn deserialize_data(ty: &SerializerType) -> TokenStream2 {
fn deserialize_data(ty: &SerializerType) -> TokenStream2 {
match ty {
SerializerType::JSON => quote! {
::near_sdk::serde_json::from_slice(&data).expect("Failed to deserialize callback using JSON")
Expand Down
4 changes: 0 additions & 4 deletions near-sdk-macros/src/core_impl/code_generator/mod.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
mod attr_sig_info;
pub use attr_sig_info::*;

mod impl_item_method_info;
pub use impl_item_method_info::*;

mod item_trait_info;
pub use item_trait_info::*;

mod item_impl_info;
pub use item_impl_info::*;

pub(crate) mod ext;
pub(crate) mod metadata;
Expand Down

0 comments on commit dfb05e9

Please sign in to comment.