Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Prev Previous commit
Next Next commit
Add rustfmt skip to default frame benchmarking template (#9473)
This was missed in the introduction pr of rustfmt. There we only had
updated the Substrate local template.
  • Loading branch information
bkchr authored and Eric Miller committed Aug 2, 2021
commit 6468ec8a4117ad826d235450eeb77c624dd05945
3 changes: 2 additions & 1 deletion utils/frame/benchmarking-cli/src/template.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{header}}
//! Autogenerated weights for {{pallet}}
//! Autogenerated weights for `{{pallet}}`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}}
//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: {{cmd.repeat}}, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}`
Expand All @@ -10,6 +10,7 @@
// {{arg}}
{{/each}}

#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]

Expand Down