Migrate all doc to new pallet macro (#10187)

* Migrate all doc to new pallet macro

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* Fix indent

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* Fix format

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen authored and GitHub committed 2021-11-18 22:08:17 +00:00
1 parent 78e60cbc4f
commit 69478639b3
23 files changed
+265 -191

No files matched your search

+2 -2
View File
@@ -206,8 +206,8 @@ pub struct RecoveryConfig<BlockNumber, Balance, AccountId> {
#[frame_support::pallet]
pub mod pallet {
use super::*;
use frame_support::{ensure, pallet_prelude::*, traits::Get, Parameter};
use frame_system::{ensure_root, ensure_signed, pallet_prelude::*};
use frame_support::pallet_prelude::*;
use frame_system::pallet_prelude::*;
use sp_runtime::ArithmeticError;
#[pallet::pallet]