Skip to content

Commit

Permalink
new clippy lint fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdsk committed Jan 14, 2025
1 parent b4fa200 commit b0f5e27
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/source/blt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,7 @@ where
self.applier = Some(self.formula.to_applier(self.input.sample_rate()));
}

let sample = match self.input.next() {
None => return None,
Some(s) => s,
};

let sample = self.input.next()?;
let result = self
.applier
.as_ref()
Expand Down

0 comments on commit b0f5e27

Please sign in to comment.