Skip to content

Commit b000d4a

Browse files
authored
decl_module! macro: use 'frame_system' instead of system as default ident (#6500)
* Use frame_system as default ident. * Remove unused 'frame_system' to 'system' renaming. * Fix construct_runtime_ui tests. * Rename system to frame_system in sudo/utility pallet test. * Bump runtime impl_version. * Update formatting.
1 parent 0548949 commit b000d4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
//!
4545
//! ```
4646
//! use frame_support::{decl_module, dispatch};
47-
//! use frame_system::{self as system, ensure_signed};
47+
//! use frame_system::ensure_signed;
4848
//! use pallet_im_online::{self as im_online};
4949
//!
5050
//! pub trait Trait: im_online::Trait {}
@@ -97,7 +97,7 @@ use frame_support::{
9797
traits::Get,
9898
weights::Weight,
9999
};
100-
use frame_system::{self as system, ensure_none};
100+
use frame_system::ensure_none;
101101
use frame_system::offchain::{
102102
SendTransactionTypes,
103103
SubmitTransaction,

0 commit comments

Comments
 (0)