mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
This variable doesn't need to be mut since it's immediately consumed
This commit is contained in:
parent
e73b635fe0
commit
0ba5c72122
1 changed files with 1 additions and 1 deletions
|
|
@ -453,7 +453,7 @@ impl Scalar {
|
||||||
|
|
||||||
// Wrap the tree storage in a ClearOnDrop to wipe it when we
|
// Wrap the tree storage in a ClearOnDrop to wipe it when we
|
||||||
// pass out of scope.
|
// pass out of scope.
|
||||||
let mut tree_vec = vec![one; 2*n];
|
let tree_vec = vec![one; 2*n];
|
||||||
let mut tree = ClearOnDrop::new(tree_vec);
|
let mut tree = ClearOnDrop::new(tree_vec);
|
||||||
|
|
||||||
for i in 0..inputs.len() {
|
for i in 0..inputs.len() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue