From f7a3f77c55252da48d8697d3e1d72f691c9cc7b7 Mon Sep 17 00:00:00 2001 From: max143672 Date: Sun, 16 Jun 2024 14:59:20 +0300 Subject: [PATCH] style: fmt and clippy fix --- crypto/txscript/src/data_stack.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/txscript/src/data_stack.rs b/crypto/txscript/src/data_stack.rs index 823653b7d..3e236e472 100644 --- a/crypto/txscript/src/data_stack.rs +++ b/crypto/txscript/src/data_stack.rs @@ -347,8 +347,8 @@ mod tests { "number: {}; serialized: {}; be: {}, le: {}", test.num, hex::encode(serialized), - hex::encode(&test.num.to_be_bytes()), - hex::encode(&test.num.to_le_bytes()), + hex::encode(test.num.to_be_bytes()), + hex::encode(test.num.to_le_bytes()), ) } }