Skip to content

Commit 00c41d2

Browse files
committed
fix: rm redundant quote_spanned!
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
1 parent 149f43a commit 00c41d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lang/syn/src/codegen/program/common.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::IxArg;
22
use anyhow::Result;
33
use heck::CamelCase;
4-
use quote::quote_spanned;
4+
use quote::{quote, quote_spanned};
55

66
// Namespace for calculating instruction sighash signatures for any instruction
77
// not affecting program state.
@@ -55,5 +55,5 @@ pub fn generate_ix_variant_name_spanned(
5555
) -> proc_macro2::TokenStream {
5656
let n = name.to_camel_case();
5757
let ident = proc_macro2::Ident::new(&n, span);
58-
quote_spanned! { span => #ident }
58+
quote! { #ident }
5959
}

0 commit comments

Comments
 (0)