clippy: remove a needless borrow (#2501)

This commit is contained in:
teor 2021-07-16 23:29:22 +10:00 committed by GitHub
parent cd78241d67
commit 049c92374e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ fn incremental_roots() {
for (i, commitment_set) in test_vectors::COMMITMENTS.iter().enumerate() {
for cm_x_bytes in commitment_set.iter() {
let cm_x = pallas::Base::from_bytes(&cm_x_bytes).unwrap();
let cm_x = pallas::Base::from_bytes(cm_x_bytes).unwrap();
leaves.push(cm_x);