Skip to content

Commit

Permalink
refactor: remove unused clone implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
agostbiro committed Jun 28, 2023
1 parent 425515e commit e724b13
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions near-sdk-macros/src/core_impl/info_extractor/arg_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use proc_macro2::{Span, TokenStream};
use quote::ToTokens;
use syn::{spanned::Spanned, Attribute, Error, Ident, Pat, PatType, Token, Type};

#[derive(Clone)]
pub enum BindgenArgType {
/// Argument that we read from `env::input()`.
Regular,
Expand All @@ -17,7 +16,6 @@ pub enum BindgenArgType {
}

/// A single argument of a function after it was processed by the bindgen.
#[derive(Clone)]
pub struct ArgInfo {
/// Attributes not related to bindgen.
pub non_bindgen_attrs: Vec<Attribute>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use syn::spanned::Spanned;
use syn::{Attribute, Error, FnArg, GenericParam, Ident, ReturnType, Signature, Type};

/// Information extracted from method attributes and signature.
#[derive(Clone)]
pub struct AttrSigInfo {
/// The name of the method.
pub ident: Ident,
Expand Down

0 comments on commit e724b13

Please sign in to comment.