File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -427,10 +427,7 @@ impl<T> fmt::Debug for LocalIncoming<T> {
427427impl < T > Stream for Incoming < T > {
428428 type Item = Result < yamux:: Stream , YamuxError > ;
429429
430- fn poll_next (
431- mut self : Pin < & mut Self > ,
432- cx : & mut Context < ' _ > ,
433- ) -> std:: task:: Poll < Option < Self :: Item > > {
430+ fn poll_next ( mut self : Pin < & mut Self > , cx : & mut Context < ' _ > ) -> Poll < Option < Self :: Item > > {
434431 self . stream . as_mut ( ) . poll_next_unpin ( cx)
435432 }
436433
@@ -444,10 +441,7 @@ impl<T> Unpin for Incoming<T> {}
444441impl < T > Stream for LocalIncoming < T > {
445442 type Item = Result < yamux:: Stream , YamuxError > ;
446443
447- fn poll_next (
448- mut self : Pin < & mut Self > ,
449- cx : & mut Context < ' _ > ,
450- ) -> std:: task:: Poll < Option < Self :: Item > > {
444+ fn poll_next ( mut self : Pin < & mut Self > , cx : & mut Context < ' _ > ) -> Poll < Option < Self :: Item > > {
451445 self . stream . as_mut ( ) . poll_next_unpin ( cx)
452446 }
453447
You can’t perform that action at this time.
0 commit comments