From e6910534ff03bfa483018f0b05a48e9ced062e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Mon, 2 Aug 2021 11:17:30 +0200 Subject: [PATCH] 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. --- substrate/utils/frame/benchmarking-cli/src/template.hbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/substrate/utils/frame/benchmarking-cli/src/template.hbs b/substrate/utils/frame/benchmarking-cli/src/template.hbs index 2fcc50f823..4acb8c7baa 100644 --- a/substrate/utils/frame/benchmarking-cli/src/template.hbs +++ b/substrate/utils/frame/benchmarking-cli/src/template.hbs @@ -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}}` @@ -10,6 +10,7 @@ // {{arg}} {{/each}} +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)]