Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update frame/support/procedural/src/default_no_bound.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
benluelo and bkchr authored Nov 17, 2022
1 parent 5a25c98 commit c9d0c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/support/procedural/src/default_no_bound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn derive_default_no_bound(input: proc_macro::TokenStream) -> proc_macro::To
let variant_ident = &default_variant.ident;

let fully_qualified_variant_path =
quote! { <#name #ty_generics>::#variant_ident };
quote! { Self::#variant_ident };

match &default_variant.fields {
Fields::Named(named) => {
Expand Down

0 comments on commit c9d0c55

Please sign in to comment.