Skip to content

Commit 1ab3d90

Browse files
committed
fmt code
1 parent f5efaaa commit 1ab3d90

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/stream/stream/eq.rs

+8-6
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ where
3434
}
3535

3636
impl<L: Stream, R: Stream> Future for EqFuture<L, R>
37-
where
38-
L: Stream + Sized,
39-
R: Stream + Sized,
40-
L::Item: PartialEq<R::Item>,
37+
where
38+
L: Stream + Sized,
39+
R: Stream + Sized,
40+
L::Item: PartialEq<R::Item>,
4141
{
4242
type Output = bool;
4343

@@ -53,8 +53,10 @@ impl<L: Stream, R: Stream> Future for EqFuture<L, R>
5353
}
5454

5555
match (l_val, r_val) {
56-
(Some(l), Some(r)) if l != r => {return Poll::Ready(false);},
57-
_ => {},
56+
(Some(l), Some(r)) if l != r => {
57+
return Poll::Ready(false);
58+
}
59+
_ => {}
5860
}
5961
}
6062
}

0 commit comments

Comments
 (0)