Skip to content

Commit d2eddf4

Browse files
muxers/yamux: Remove OpenSubstreamToken (#2873)
1 parent 2eca38c commit d2eddf4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

muxers/yamux/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
- Remove `OpenSubstreamToken` as it is dead code. See [PR 2873].
6+
7+
[PR 2873]: https://github.com/libp2p/rust-libp2p/pull/2873/
8+
59
# 0.39.0
610

711
- Update to `libp2p-core` `v0.35.0`

muxers/yamux/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ impl<S> fmt::Debug for Yamux<S> {
5050
}
5151
}
5252

53-
/// A token to poll for an outbound substream.
54-
#[derive(Debug)]
55-
pub struct OpenSubstreamToken(());
56-
5753
impl<C> Yamux<Incoming<C>>
5854
where
5955
C: AsyncRead + AsyncWrite + Send + Unpin + 'static,

0 commit comments

Comments
 (0)