Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update frame/contracts/proc-macro/src/lib.rs
Co-authored-by: Sasha Gryaznov <[email protected]>
  • Loading branch information
athei and agryaznov authored Nov 30, 2022
commit 6ade9c75b8e0ca4321e122463e71dff17f4c28e9
2 changes: 1 addition & 1 deletion frame/contracts/proc-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ fn expand_functions(
};

quote! {
// We need to allow those functions when runtime benchmarks are performed because
// We need to allow unstable functions when runtime benchmarks are performed because
// we generate the weights even when those interfaces are not enabled.
if ::core::cfg!(feature = "runtime-benchmarks") || #is_stable || allow_unstable {
#allow_unused
Expand Down