From b5f15a3df542699ea7f23a41b894fd767eacd739 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Tue, 9 May 2023 11:44:42 +0200 Subject: [PATCH] fmt Signed-off-by: Oliver Tale-Yazdi --- frame/support/procedural/src/lib.rs | 3 ++- frame/support/src/dispatch.rs | 3 ++- frame/support/src/error.rs | 3 ++- frame/support/src/event.rs | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/frame/support/procedural/src/lib.rs b/frame/support/procedural/src/lib.rs index 0731a94a720f6..abfa21b331b0e 100644 --- a/frame/support/procedural/src/lib.rs +++ b/frame/support/procedural/src/lib.rs @@ -296,7 +296,8 @@ fn counter_prefix(prefix: &str) -> String { /// } /// ``` #[proc_macro] -#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. For more info, see: ")] +#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. + For more info, see: ")] pub fn decl_storage(input: TokenStream) -> TokenStream { storage::decl_storage_impl(input) } diff --git a/frame/support/src/dispatch.rs b/frame/support/src/dispatch.rs index d87671a0bceeb..6b390fa9b7373 100644 --- a/frame/support/src/dispatch.rs +++ b/frame/support/src/dispatch.rs @@ -879,7 +879,8 @@ impl PaysFee for (u64, Pays) { /// in an externalities-provided environment. Implement /// [`IntegrityTest`](./trait.IntegrityTest.html) trait. #[macro_export] -#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. For more info, see: ")] +#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. + For more info, see: ")] macro_rules! decl_module { // Entry point #1. ( diff --git a/frame/support/src/error.rs b/frame/support/src/error.rs index 7c0d2910c0c8a..fa711389abe18 100644 --- a/frame/support/src/error.rs +++ b/frame/support/src/error.rs @@ -67,7 +67,8 @@ pub use sp_runtime::traits::{BadOrigin, LookupError}; /// For instantiable modules you also need to give the instance generic type and bound to the /// error declaration. #[macro_export] -#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. For more info, see: ")] +#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. + For more info, see: ")] macro_rules! decl_error { ( $(#[$attr:meta])* diff --git a/frame/support/src/event.rs b/frame/support/src/event.rs index 8f0ddcffc51f8..ba3e5a2750b63 100644 --- a/frame/support/src/event.rs +++ b/frame/support/src/event.rs @@ -101,7 +101,8 @@ /// # fn main() {} /// ``` #[macro_export] -#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. For more info, see: ")] +#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. + For more info, see: ")] macro_rules! decl_event { ( $(#[$attr:meta])*