Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Prev Previous commit
Next Next commit
Remove useless type alias
  • Loading branch information
koushiro committed Oct 3, 2022
commit bab23996844c5887b29e5efb3026a428943a15d4
1 change: 0 additions & 1 deletion frame/support/src/storage/generator/double_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,6 @@ mod test_iterators {
fn double_map_iter_from() {
sp_io::TestExternalities::default().execute_with(|| {
use crate::hash::Identity;
type MyModule = self::frame_system::Pallet<Runtime>;
#[crate::storage_alias]
type MyDoubleMap = StorageDoubleMap<MyModule, Identity, u64, Identity, u64, u64>;

Expand Down
1 change: 0 additions & 1 deletion frame/support/src/storage/generator/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ mod test_iterators {
fn map_iter_from() {
sp_io::TestExternalities::default().execute_with(|| {
use crate::hash::Identity;
type MyModule = self::frame_system::Pallet<Runtime>;
#[crate::storage_alias]
type MyMap = StorageMap<MyModule, Identity, u64, u64>;

Expand Down
2 changes: 0 additions & 2 deletions frame/support/src/storage/generator/nmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,6 @@ mod test_iterators {
fn n_map_iter_from() {
sp_io::TestExternalities::default().execute_with(|| {
use crate::{hash::Identity, storage::Key as NMapKey};

type MyModule = self::frame_system::Pallet<Runtime>;
#[crate::storage_alias]
type MyNMap = StorageNMap<
MyModule,
Expand Down