Browse Source

Make clippy happy again (#1186)

Signed-off-by: Cyrill Leutwiler <cyrill@parity.io>
Cyrill Leutwiler 2 years ago
parent
commit
ab6360ed83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/codegen/encoding/scale_encoding.rs

+ 1 - 1
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()),
             },
         );
     }