Skip to content

Commit

Permalink
Remove useless into_iter() call on an Iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Aug 28, 2020
1 parent 056feee commit 1a2c954
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ebur128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,6 @@ impl EbuR128 {
iter: impl Iterator<Item = &'a Self>,
) -> Result<f64, Error> {
let h = iter
.into_iter()
.map(|e| {
if !e.mode.contains(Mode::I) {
Err(Error::InvalidMode)
Expand Down

0 comments on commit 1a2c954

Please sign in to comment.