Skip to content

Commit

Permalink
Lint error fixed.
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Hernandez Iglesias <f.hernandeziglesias@outlook.com>
  • Loading branch information
SupremoUGH committed Sep 6, 2022
1 parent 300ddc1 commit e8ea37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manta-crypto/src/merkle_tree/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ where
InnerDigest<C>: 'i,
I: IntoIterator<Item = &'i InnerDigest<C>>,
{
let mut iter = iter.into_iter().peekable();
let mut iter = iter.into_iter();
(depth..path_length::<C, _>()).fold(base, move |acc, _| {
Self::fold_fn(parameters, index.into_parent(), &acc, default, || {
iter.next().unwrap()
Expand Down

0 comments on commit e8ea37f

Please sign in to comment.