Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed May 9, 2023
1 parent 92c3a40 commit b5f15a3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion frame/support/procedural/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: <https://github.com/paritytech/substrate/pull/13705>")]
#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead.
For more info, see: <https://github.com/paritytech/substrate/pull/13705>")]
pub fn decl_storage(input: TokenStream) -> TokenStream {
storage::decl_storage_impl(input)
}
Expand Down
3 changes: 2 additions & 1 deletion frame/support/src/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,8 @@ impl<T> PaysFee<T> 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: <https://github.com/paritytech/substrate/pull/13705>")]
#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead.
For more info, see: <https://github.com/paritytech/substrate/pull/13705>")]
macro_rules! decl_module {
// Entry point #1.
(
Expand Down
3 changes: 2 additions & 1 deletion frame/support/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: <https://github.com/paritytech/substrate/pull/13705>")]
#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead.
For more info, see: <https://github.com/paritytech/substrate/pull/13705>")]
macro_rules! decl_error {
(
$(#[$attr:meta])*
Expand Down
3 changes: 2 additions & 1 deletion frame/support/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@
/// # fn main() {}
/// ```
#[macro_export]
#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead. For more info, see: <https://github.com/paritytech/substrate/pull/13705>")]
#[deprecated(note = "Will be removed soon; use the attribute `#[pallet]` macro instead.
For more info, see: <https://github.com/paritytech/substrate/pull/13705>")]
macro_rules! decl_event {
(
$(#[$attr:meta])*
Expand Down

0 comments on commit b5f15a3

Please sign in to comment.