remove compiler warning (#32081)

This commit is contained in:
Jeff Washington (jwash) 2023-06-12 15:48:17 -05:00 committed by GitHub
parent d0ae8c38bd
commit 4f677ff4f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -906,7 +906,7 @@ mod tests {
.collect::<Vec<_>>();
let mut hashed = Bucket::index_entries(raw.clone().into_iter(), len, random);
let common_ix = 2; // both are put at same ix
hashed.iter_mut().for_each(|mut v| {
hashed.iter_mut().for_each(|v| {
v.0 = common_ix;
});
let hashed_raw = hashed.clone();