Skip to content

Commit

Permalink
Fix intra-doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Jun 24, 2022
1 parent ed8f0b7 commit 3c3bed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/muxing.rs
Expand Up @@ -158,7 +158,7 @@ impl<T> StreamMuxerEvent<T> {
}

/// Map the stream within [`StreamMuxerEvent::InboundSubstream`] and
/// [`StreamMuxerEvent::OutboundStream`] to a new type.
/// [`StreamMuxerEvent::OutboundSubstream`] to a new type.
pub fn map_stream<O>(self, map: impl FnOnce(T) -> O) -> StreamMuxerEvent<O> {
match self {
StreamMuxerEvent::InboundSubstream(stream) => {
Expand Down

0 comments on commit 3c3bed3

Please sign in to comment.