Skip to content

Commit

Permalink
Remove useless into_iter() on Range (#9806) (#9811)
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.

(cherry picked from commit 5a9d041)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
  • Loading branch information
mergify[bot] and jakelishman authored Mar 17, 2023
1 parent aa5cd1b commit 0535390
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion 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 0535390

Please sign in to comment.