Skip to content

Commit 3c4f54b

Browse files
committed
Update attributes
1 parent 6c5b686 commit 3c4f54b

File tree

1 file changed

+2
-2
lines changed
  • rust/bufferfish-derive/src

1 file changed

+2
-2
lines changed

rust/bufferfish-derive/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use syn::{
77
Data, DeriveInput, Expr, Fields, Index, Type, TypePath, parse_macro_input, spanned::Spanned,
88
};
99

10-
#[proc_macro_derive(Encode, attributes(bufferfish, skip))]
10+
#[proc_macro_derive(Encode, attributes(bufferfish))]
1111
#[proc_macro_error]
1212
pub fn bufferfish_impl_encodable(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
1313
let ast = parse_macro_input!(input as DeriveInput);
@@ -78,7 +78,7 @@ pub fn bufferfish_impl_encodable(input: proc_macro::TokenStream) -> proc_macro::
7878
generated.into()
7979
}
8080

81-
#[proc_macro_derive(Decode, attributes(bufferfish, skip))]
81+
#[proc_macro_derive(Decode, attributes(bufferfish))]
8282
#[proc_macro_error]
8383
pub fn bufferfish_impl_decodable(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
8484
let ast = parse_macro_input!(input as DeriveInput);

0 commit comments

Comments
 (0)