mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-30 09:15:33 +00:00
fmt code
This commit is contained in:
parent
f5efaaa7ba
commit
1ab3d901e4
1 changed files with 8 additions and 6 deletions
|
@ -34,10 +34,10 @@ where
|
|||
}
|
||||
|
||||
impl<L: Stream, R: Stream> Future for EqFuture<L, R>
|
||||
where
|
||||
L: Stream + Sized,
|
||||
R: Stream + Sized,
|
||||
L::Item: PartialEq<R::Item>,
|
||||
where
|
||||
L: Stream + Sized,
|
||||
R: Stream + Sized,
|
||||
L::Item: PartialEq<R::Item>,
|
||||
{
|
||||
type Output = bool;
|
||||
|
||||
|
@ -53,8 +53,10 @@ impl<L: Stream, R: Stream> Future for EqFuture<L, R>
|
|||
}
|
||||
|
||||
match (l_val, r_val) {
|
||||
(Some(l), Some(r)) if l != r => {return Poll::Ready(false);},
|
||||
_ => {},
|
||||
(Some(l), Some(r)) if l != r => {
|
||||
return Poll::Ready(false);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue