Skip to content

Commit

Permalink
Correct rust stable quote! macro braces
Browse files Browse the repository at this point in the history
  • Loading branch information
kneitinger committed Nov 3, 2021
1 parent e772631 commit f297135
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sketch_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ pub fn sketch(_attr: TokenStream, input: TokenStream) -> TokenStream {
let impl_sketchaccess = impl_sketchaccess_tokens(name, params);
let impl_default = impl_default_tokens(name, params);

quote! {
quote!(
#struct_tokens
#impl_default
#impl_sketchaccess
}
)
.into()
}

Expand All @@ -36,10 +36,10 @@ pub fn sketchlist(input: TokenStream) -> TokenStream {
let sketch_subcommand_enum = sketch_subcommand_enum_tokens(sketches);
let sketchlist_struct = sketchlist_struct_tokens(sketches);

quote! {
quote!(
#sketch_mod_stmts
#sketch_subcommand_enum
#sketchlist_struct
}
)
.into()
}

0 comments on commit f297135

Please sign in to comment.