Skip to content

Commit 577d76f

Browse files
author
Sebastian Wicki
committed
Remove unnecessary pattern in Inspect trait method
These are deprecated and will become a hard error in the future, see rust-lang/rust#35203
1 parent c9d373a commit 577d76f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataflow/operators/inspect.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub trait Inspect<G: Scope, D: Data> {
3030
/// .inspect_batch(|t,xs| println!("seen at: {:?}\t{:?} records", t, xs.len()));
3131
/// });
3232
/// ```
33-
fn inspect_batch<F: FnMut(&G::Timestamp, &[D])+'static>(&self, mut func: F) -> Self;
33+
fn inspect_batch<F: FnMut(&G::Timestamp, &[D])+'static>(&self, func: F) -> Self;
3434
}
3535

3636
impl<G: Scope, D: Data> Inspect<G, D> for Stream<G, D> {

0 commit comments

Comments
 (0)