From bcf38c89a253638799eb96fe42e94b49bce6dfab Mon Sep 17 00:00:00 2001
From: Daniel Shiposha <dshiposha@usetech.com>
Date: Wed, 28 Sep 2022 22:00:33 +0200
Subject: [PATCH] fix: typo in AllPalletsWithSystem deprecated msg (#12379)

---
 .../frame/support/procedural/src/construct_runtime/mod.rs   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/substrate/frame/support/procedural/src/construct_runtime/mod.rs b/substrate/frame/support/procedural/src/construct_runtime/mod.rs
index e20cb61b7ae..73d0d54343e 100644
--- a/substrate/frame/support/procedural/src/construct_runtime/mod.rs
+++ b/substrate/frame/support/procedural/src/construct_runtime/mod.rs
@@ -422,7 +422,7 @@ fn decl_all_pallets<'a>(
 			/// All pallets included in the runtime as a nested tuple of types in reversed order.
 			/// Excludes the System pallet.
 			#[deprecated(note = "Using reverse pallet orders is deprecated. use only \
-			`AllPalletWithSystem or AllPalletsWithoutSystem`")]
+			`AllPalletsWithSystem or AllPalletsWithoutSystem`")]
 			pub type AllPalletsWithoutSystemReversed = ( #(#names,)* );
 		}
 	});
@@ -433,7 +433,7 @@ fn decl_all_pallets<'a>(
 			#attr
 			/// All pallets included in the runtime as a nested tuple of types in reversed order.
 			#[deprecated(note = "Using reverse pallet orders is deprecated. use only \
-			`AllPalletWithSystem or AllPalletsWithoutSystem`")]
+			`AllPalletsWithSystem or AllPalletsWithoutSystem`")]
 			pub type AllPalletsWithSystemReversed = ( #(#names,)* );
 		}
 	});
@@ -447,7 +447,7 @@ fn decl_all_pallets<'a>(
 			/// All pallets included in the runtime as a nested tuple of types in reversed order.
 			/// With the system pallet first.
 			#[deprecated(note = "Using reverse pallet orders is deprecated. use only \
-			`AllPalletWithSystem or AllPalletsWithoutSystem`")]
+			`AllPalletsWithSystem or AllPalletsWithoutSystem`")]
 			pub type AllPalletsReversedWithSystemFirst = ( #(#names,)* );
 		}
 	});
-- 
GitLab