From 6b65245c9a00e4381a88b3f9e6d9598705eb7dfd Mon Sep 17 00:00:00 2001 From: gui Date: Mon, 2 Dec 2024 10:03:17 +0900 Subject: [PATCH] fmt --- .../runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs | 5 +---- .../runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs | 5 +---- substrate/frame/examples/kitchensink/src/benchmarking.rs | 3 ++- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs index f97dd206f8c4..eb37cab38739 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs @@ -126,10 +126,7 @@ pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. pub type TxExtension = ( // `Debug` is implemented for tuple of at most 12 elements, so we group extensions. - ( - frame_system::AuthorizeCall, - frame_system::CheckNonZeroSender, - ), + (frame_system::AuthorizeCall, frame_system::CheckNonZeroSender), frame_system::CheckSpecVersion, frame_system::CheckTxVersion, frame_system::CheckGenesis, diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs index c8b5df778723..bba94b7f8e2e 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs @@ -122,10 +122,7 @@ pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. pub type TxExtension = ( // `Debug` is implemented for tuple of at most 12 elements, so we group extensions. - ( - frame_system::AuthorizeCall, - frame_system::CheckNonZeroSender, - ), + (frame_system::AuthorizeCall, frame_system::CheckNonZeroSender), frame_system::CheckSpecVersion, frame_system::CheckTxVersion, frame_system::CheckGenesis, diff --git a/substrate/frame/examples/kitchensink/src/benchmarking.rs b/substrate/frame/examples/kitchensink/src/benchmarking.rs index 354ddcd37cb9..57594b5aa64b 100644 --- a/substrate/frame/examples/kitchensink/src/benchmarking.rs +++ b/substrate/frame/examples/kitchensink/src/benchmarking.rs @@ -94,7 +94,8 @@ mod benchmarks { // `cargo test -p pallet-example-kitchensink --all-features`, you will see one line per case: // `test benchmarking::bench_set_foo_benchmark ... ok` // `test benchmarking::bench_set_foo_using_authorize_benchmark ... ok` in the result. - // `test benchmarking::bench_authorize_set_foo_using_authorize_benchmark ... ok` in the result. + // `test benchmarking::bench_authorize_set_foo_using_authorize_benchmark ... ok` in the + // result. // // The line generates three steps per benchmark, with repeat=1 and the three steps are // [low, mid, high] of the range.