quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.76k stars 380 forks source link

Fix document example #1288

Closed sizumita closed 2 years ago

sizumita commented 2 years ago
sizumita commented 2 years ago

and I think

let (mut send, recv) = connection
        .open_bi()
        .await?;

is

let (mut send, recv) = connection.connection
        .open_bi()
        .await?;
djc commented 2 years ago

Thanks! Would you like to submit another PR for the connection.connection issue?