Skip to content

Commit 1d11f4d

Browse files
committed
allow useless_conversion
1 parent a26ad15 commit 1d11f4d

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

authority/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#![allow(clippy::boxed_local)]
2626
#![allow(clippy::borrowed_box)]
2727
#![allow(clippy::unused_unit)]
28+
#![allow(clippy::useless_conversion)]
2829

2930
use frame_support::{
3031
dispatch::PostDispatchInfo,

oracle/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
// Disable the following two lints since they originate from an external macro (namely decl_storage)
1919
#![allow(clippy::string_lit_as_bytes)]
2020
#![allow(clippy::unused_unit)]
21+
#![allow(clippy::useless_conversion)]
2122

2223
use parity_scale_codec::{Decode, Encode, MaxEncodedLen};
2324

payments/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
//! When a payment is 'completed' or 'cancelled' it is removed from storage and
6060
//! hence not tracked by a state.
6161
#![cfg_attr(not(feature = "std"), no_std)]
62+
#![allow(clippy::useless_conversion)]
6263
pub use pallet::*;
6364

6465
#[cfg(test)]

tokens/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#![cfg_attr(not(feature = "std"), no_std)]
3737
#![allow(clippy::unused_unit)]
3838
#![allow(clippy::comparison_chain)]
39+
#![allow(clippy::useless_conversion)]
3940

4041
pub use crate::imbalances::{NegativeImbalance, PositiveImbalance};
4142

0 commit comments

Comments
 (0)