From ab6360ed832e1fddf03eed3ea727a266d0a940ca Mon Sep 17 00:00:00 2001 From: Cyrill Leutwiler Date: Mon, 20 Feb 2023 16:31:47 +0100 Subject: [PATCH] Make clippy happy again (#1186) Signed-off-by: Cyrill Leutwiler --- src/codegen/encoding/scale_encoding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codegen/encoding/scale_encoding.rs b/src/codegen/encoding/scale_encoding.rs index 20d2a52a0..e67507820 100644 --- a/src/codegen/encoding/scale_encoding.rs +++ b/src/codegen/encoding/scale_encoding.rs @@ -149,7 +149,7 @@ fn encode_compact( Instr::WriteBuffer { buf: buffer.clone(), offset: offset.clone(), - value: Expression::Cast(Codegen, Uint(16), mul.clone().into()), + value: Expression::Cast(Codegen, Uint(16), mul.into()), }, ); }