Skip to content

Commit 02ce58d

Browse files
committed
Fixes ICE
1 parent 8b1db4c commit 02ce58d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/pharos.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,7 @@ impl<Event> Sink<Event> for Pharos<Event> where Event: Clone + 'static + Send
264264
{
265265
if let Some( ref mut obs ) = opt
266266
{
267-
match Pin::new( obs ).poll_flush( cx )
268-
{
269-
Poll::Pending => {} ,
270-
Poll::Ready(Ok()) => {} ,
271-
272-
Poll::Ready(Err(_)) =>
273-
{
274-
}
275-
}
267+
Pin::new( obs ).poll_flush( cx );
276268
}
277269
}
278270

0 commit comments

Comments
 (0)