From 19689f81c77438542a35efacae17e4ec6c2b0af6 Mon Sep 17 00:00:00 2001 From: wangjj9219 <183318287@qq.com> Date: Mon, 29 Jun 2020 00:51:40 +0800 Subject: [PATCH] allow unnecessary_mut_passed warning (#216) --- oracle/rpc/runtime-api/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oracle/rpc/runtime-api/src/lib.rs b/oracle/rpc/runtime-api/src/lib.rs index f39bb7f..c250569 100644 --- a/oracle/rpc/runtime-api/src/lib.rs +++ b/oracle/rpc/runtime-api/src/lib.rs @@ -3,6 +3,8 @@ #![cfg_attr(not(feature = "std"), no_std)] // The `too_many_arguments` warning originates from `decl_runtime_apis` macro. #![allow(clippy::too_many_arguments)] +// The `unnecessary_mut_passed` warning originates from `decl_runtime_apis` macro. +#![allow(clippy::unnecessary_mut_passed)] use codec::Codec; use sp_std::prelude::Vec; -- GitLab