Skip to content

Commit f7baf4e

Browse files
authored
chore: make it compile with Rust 1.71 (#128)
The current version won't compile with Rust 1.71: error: unnecessary qualification --> src/merkle.rs:2021:17 | 2021 | iter: <I as std::iter::IntoIterator>::IntoIter, | ^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:72:5 | 72 | unused_qualifications, | ^^^^^^^^^^^^^^^^^^^^^ error: could not compile `merkletree` (lib) due to previous error This commit fixes that error.
1 parent 16a679b commit f7baf4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/merkle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2018,7 +2018,7 @@ pub fn populate_data<
20182018
I: IntoIterator<Item = Result<E>>,
20192019
>(
20202020
data: &mut S,
2021-
iter: <I as std::iter::IntoIterator>::IntoIter,
2021+
iter: I::IntoIter,
20222022
) -> Result<()> {
20232023
if !data.is_empty() {
20242024
return Ok(());

0 commit comments

Comments
 (0)