diff --git a/core/src/muxing.rs b/core/src/muxing.rs index 6aa37add171..ce414edd0f5 100644 --- a/core/src/muxing.rs +++ b/core/src/muxing.rs @@ -158,7 +158,7 @@ impl StreamMuxerEvent { } /// Map the stream within [`StreamMuxerEvent::InboundSubstream`] and - /// [`StreamMuxerEvent::OutboundStream`] to a new type. + /// [`StreamMuxerEvent::OutboundSubstream`] to a new type. pub fn map_stream(self, map: impl FnOnce(T) -> O) -> StreamMuxerEvent { match self { StreamMuxerEvent::InboundSubstream(stream) => {