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 7287feb commit a2c64ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/muxing.rs
Original file line number Diff line number Diff line change
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 a2c64ae

Please sign in to comment.