libp2p / rust-yamux

Multiplexer over reliable, ordered connections.
Apache License 2.0
179 stars 43 forks source link

docs: remove mentions of old API components #172

Closed Gowee closed 1 year ago

Gowee commented 1 year ago

Control and Connection::next_stream has been removed since 0.11 and 0.12, in favor of poll-based methods on Connection.

The PR updated doc comments regarding those structs. Some outdated non-doc comments at the top of connection.rs (L12) are unchanged, because I am not familiar with the crate enough to rewrite that part.

This fixes #171.