Skip to content

Commit 204da33

Browse files
committed
fmt code
1 parent 17db7ff commit 204da33

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/stream/stream/ne.rs

+13-10
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ pin_project! {
2222
}
2323

2424
impl<L: Stream, R: Stream> NeFuture<L, R>
25-
where
26-
L::Item: PartialEq<R::Item>,
25+
where
26+
L::Item: PartialEq<R::Item>,
2727
{
2828
pub(super) fn new(l: L, r: R) -> Self {
2929
Self {
@@ -34,10 +34,10 @@ impl<L: Stream, R: Stream> NeFuture<L, R>
3434
}
3535

3636
impl<L: Stream, R: Stream> Future for NeFuture<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,10 +53,13 @@ impl<L: Stream, R: Stream> Future for NeFuture<L, R>
5353
}
5454

5555
match (l_val, r_val) {
56-
(Some(l), Some(r)) if l == r => {continue;},
57-
_ => { return Poll::Ready(true); },
56+
(Some(l), Some(r)) if l == r => {
57+
continue;
58+
}
59+
_ => {
60+
return Poll::Ready(true);
61+
}
5862
}
59-
6063
}
6164
}
62-
}
65+
}

0 commit comments

Comments
 (0)