Skip to content

Commit

Permalink
refactor: remove reference that is unnecessary (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamirmahal committed Mar 20, 2024
1 parent 9289947 commit 0466f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/take.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ where
None
} else if let Some(sample) = self.input.next() {
let sample = match &self.filter {
Some(filter) => filter.apply(sample, &self),
Some(filter) => filter.apply(sample, self),
None => sample,
};

Expand Down

0 comments on commit 0466f60

Please sign in to comment.