Skip to content

Commit

Permalink
Merge pull request #206 from sr-gi/fix-clippy-responder
Browse files Browse the repository at this point in the history
Removes unnecessary `into_iter` from Responder tests
  • Loading branch information
sr-gi authored Mar 14, 2023
2 parents 67aa345 + 801ef5d commit 886e0ff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions teos/src/responder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1354,10 +1354,7 @@ mod tests {
// Mock data into the GK
let target_block_height = START_HEIGHT as u32;
let user_id = get_random_user_id();
let uuids = (0..10)
.into_iter()
.map(|_| generate_uuid())
.collect::<Vec<UUID>>();
let uuids = (0..10).map(|_| generate_uuid()).collect::<Vec<UUID>>();
responder
.gatekeeper
.add_outdated_user(user_id, target_block_height, Some(uuids.clone()));
Expand Down

0 comments on commit 886e0ff

Please sign in to comment.