Lints from latest nightly

We can't adopt it due to some issue with building the runtime, but these are
good to have.
This commit is contained in:
Luke Parker
2024-09-01 16:33:40 -04:00
parent a506d74d69
commit 4e834873d3
9 changed files with 33 additions and 7 deletions

View File

@@ -1,6 +1,11 @@
#![cfg_attr(not(feature = "std"), no_std)]
#[allow(clippy::cast_possible_truncation, clippy::no_effect_underscore_binding, clippy::empty_docs)]
#[allow(
unreachable_patterns,
clippy::cast_possible_truncation,
clippy::no_effect_underscore_binding,
clippy::empty_docs
)]
#[frame_support::pallet]
pub mod pallet {
use super::*;
@@ -8,7 +13,6 @@ pub mod pallet {
use frame_support::{pallet_prelude::*, sp_runtime::SaturatedConversion};
use sp_std::{vec, vec::Vec, ops::Mul, collections::btree_map::BTreeMap};
use sp_runtime;
use coins_pallet::{Config as CoinsConfig, Pallet as Coins};
use dex_pallet::{Config as DexConfig, Pallet as Dex};