mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
Relaxed clippy fixes/nits (#2661)
This PR contains just a few clippy fixes and nits, which are, however, relaxed by workspace clippy settings here: https://github.com/paritytech/polkadot-sdk/blob/master/Cargo.toml#L483-L506 --------- Co-authored-by: Dmitry Sinyavin <dmitry.sinyavin@parity.io> Co-authored-by: ordian <write@reusable.software> Co-authored-by: command-bot <> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -407,13 +407,11 @@ where
|
||||
#[allow(dead_code)]
|
||||
pub(crate) mod mock {
|
||||
pub use super::*;
|
||||
pub use frame_support::{
|
||||
parameter_types,
|
||||
storage::{types::ValueQuery, StorageList as _},
|
||||
StorageNoopGuard,
|
||||
};
|
||||
pub use sp_io::{hashing::twox_128, TestExternalities};
|
||||
pub use sp_metadata_ir::{StorageEntryModifierIR, StorageEntryTypeIR, StorageHasherIR};
|
||||
pub use frame_support::parameter_types;
|
||||
#[cfg(test)]
|
||||
pub use frame_support::{storage::StorageList as _, StorageNoopGuard};
|
||||
#[cfg(test)]
|
||||
pub use sp_io::TestExternalities;
|
||||
|
||||
parameter_types! {
|
||||
pub const ValuesPerNewPage: u32 = 5;
|
||||
|
||||
Reference in New Issue
Block a user