Skip to content

Commit

Permalink
Remove useless into_iter() on Range (Qiskit#9806)
Browse files Browse the repository at this point in the history
Clippy has started complaining about this on the stable branch, and it's
probably correct to do so.
  • Loading branch information
jakelishman committed Mar 16, 2023
1 parent bbd023b commit 5a9d041
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/accelerate/src/dense_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ pub fn best_subset(
.reduce(reduce_identity_fn, reduce_fn)
} else {
(0..coupling_shape[0])
.into_iter()
.map(map_fn)
.reduce(reduce_fn)
.unwrap()
Expand Down

0 comments on commit 5a9d041

Please sign in to comment.