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 23, 2022
1 parent 561318b commit cd4d01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/muxing.rs
Expand Up @@ -166,7 +166,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 cd4d01a

Please sign in to comment.