Skip to content

Commit

Permalink
muxers/yamux: Remove OpenSubstreamToken (#2873)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Sep 7, 2022
1 parent 2eca38c commit d2eddf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions muxers/yamux/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

- Update to `libp2p-core` `v0.36.0`

- Remove `OpenSubstreamToken` as it is dead code. See [PR 2873].

[PR 2873]: https://github.com/libp2p/rust-libp2p/pull/2873/

# 0.39.0

- Update to `libp2p-core` `v0.35.0`
Expand Down
4 changes: 0 additions & 4 deletions muxers/yamux/src/lib.rs
Expand Up @@ -50,10 +50,6 @@ impl<S> fmt::Debug for Yamux<S> {
}
}

/// A token to poll for an outbound substream.
#[derive(Debug)]
pub struct OpenSubstreamToken(());

impl<C> Yamux<Incoming<C>>
where
C: AsyncRead + AsyncWrite + Send + Unpin + 'static,
Expand Down

0 comments on commit d2eddf4

Please sign in to comment.