From 43e4e55e1fcce9944ebfd75251ad41cd75a66570 Mon Sep 17 00:00:00 2001 From: zjb0807 <zjb0807@qq.com> Date: Wed, 18 Nov 2020 14:01:01 +0800 Subject: [PATCH] fix clippy (#321) --- authority/src/default_weight.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/authority/src/default_weight.rs b/authority/src/default_weight.rs index 7f30ef5..802a567 100644 --- a/authority/src/default_weight.rs +++ b/authority/src/default_weight.rs @@ -6,6 +6,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(clippy::unnecessary_cast)] use frame_support::weights::{constants::RocksDbWeight as DbWeight, Weight}; use sp_std::marker::PhantomData; -- GitLab