Skip to content

Commit

Permalink
Fixed doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs authored and djc committed Aug 1, 2022
1 parent 1f59774 commit 24ec886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quinn-proto/src/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ impl Connection {
self.streams.set_max_concurrent(dir, count);
}

/// See [`quinn::TransportConfig::receive_window()`]
/// See [`TransportConfig::receive_window()`]
pub fn set_receive_window(&mut self, receive_window: VarInt) {
if self.streams.set_receive_window(receive_window) {
self.spaces[SpaceId::Data].pending.max_data = true;
Expand Down
2 changes: 1 addition & 1 deletion quinn/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ impl Connection {
conn.wake();
}

/// See [`quinn::TransportConfig::receive_window()`]
/// See [`proto::TransportConfig::receive_window()`]
pub fn set_receive_window(&self, receive_window: VarInt) {
let mut conn = self.0.lock("set_receive_window");
conn.inner.set_receive_window(receive_window);
Expand Down

0 comments on commit 24ec886

Please sign in to comment.