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/construct_runtime/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored Nov 1, 2022
1 parent d7aa013 commit 27953ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/support/procedural/src/construct_runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ fn decl_all_pallets<'a>(
let test_cfg = features.remove("test").then_some(quote!(test)).into_iter();
let disabled_features = all_features.difference(&features);
let features = features.iter();
let attr = quote!(#[cfg(all( #(#test_cfg),* #(feature = #features,)* #(not(feature = #disabled_features)),* ))]);
let attr = quote!(#[cfg(all( #(#test_cfg,)* #(feature = #features,)* #(not(feature = #disabled_features)),* ))]);

(attr, names)
}
Expand Down

0 comments on commit 27953ef

Please sign in to comment.