From c9e10128852e448fe85ecb88ca8f60135c13d678 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Sat, 29 Jan 2022 13:06:24 +0200 Subject: [PATCH] doc: fix broken item links --- quinn-proto/src/connection/streams/state.rs | 2 +- quinn/src/recv_stream.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/quinn-proto/src/connection/streams/state.rs b/quinn-proto/src/connection/streams/state.rs index 2bab10862..a23c85f7e 100644 --- a/quinn-proto/src/connection/streams/state.rs +++ b/quinn-proto/src/connection/streams/state.rs @@ -754,7 +754,7 @@ impl StreamsState { /// Returns whether a `MAX_DATA` frame should be enqueued as soon as possible. /// This will only be the case if the window update would is significant /// enough. As soon as a window update with a `MAX_DATA` frame has been - /// queued, the [`record_sent_max_data`] function should be called to + /// queued, the [`Recv::record_sent_max_stream_data`] function should be called to /// suppress sending further updates until the window increases significantly /// again. pub(super) fn add_read_credits(&mut self, credits: u64) -> ShouldTransmit { diff --git a/quinn/src/recv_stream.rs b/quinn/src/recv_stream.rs index d92acf637..7a403addf 100644 --- a/quinn/src/recv_stream.rs +++ b/quinn/src/recv_stream.rs @@ -120,7 +120,7 @@ impl RecvStream { .await } - /// Foundation of [`read_chunk()`]: RecvStream::read_chunk + /// Foundation of [`Self::read_chunk`] fn poll_read_chunk( &mut self, cx: &mut Context, @@ -145,7 +145,7 @@ impl RecvStream { ReadChunks { stream: self, bufs }.await } - /// Foundation of [`read_chunks()`]: RecvStream::read_chunks + /// Foundation of [`Self::read_chunks`] fn poll_read_chunks( &mut self, cx: &mut Context,