@@ -215,7 +215,7 @@ pub trait StreamMuxer {
215215 /// > that the remote is properly informed of the shutdown. However, apart from
216216 /// > properly informing the remote, there is no difference between this and
217217 /// > immediately dropping the muxer.
218- fn close ( & self , cx : & mut Context < ' _ > ) -> Poll < Result < ( ) , Self :: Error > > ;
218+ fn poll_close ( & self , cx : & mut Context < ' _ > ) -> Poll < Result < ( ) , Self :: Error > > ;
219219
220220 /// Flush this `StreamMuxer`.
221221 ///
@@ -606,8 +606,8 @@ impl StreamMuxer for StreamMuxerBox {
606606 }
607607
608608 #[ inline]
609- fn close ( & self , cx : & mut Context < ' _ > ) -> Poll < Result < ( ) , Self :: Error > > {
610- self . inner . close ( cx)
609+ fn poll_close ( & self , cx : & mut Context < ' _ > ) -> Poll < Result < ( ) , Self :: Error > > {
610+ self . inner . poll_close ( cx)
611611 }
612612
613613 #[ inline]
@@ -747,8 +747,8 @@ where
747747 }
748748
749749 #[ inline]
750- fn close ( & self , cx : & mut Context < ' _ > ) -> Poll < Result < ( ) , Self :: Error > > {
751- self . inner . close ( cx) . map_err ( |e| e. into ( ) )
750+ fn poll_close ( & self , cx : & mut Context < ' _ > ) -> Poll < Result < ( ) , Self :: Error > > {
751+ self . inner . poll_close ( cx) . map_err ( |e| e. into ( ) )
752752 }
753753
754754 #[ inline]
0 commit comments