doc: fix broken item links

This commit is contained in:
Joonas Koivunen
2022-01-29 13:06:24 +02:00
committed by Dirkjan Ochtman
parent 8fbbf33440
commit c9e1012885
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 {
+2 -2
View File
@@ -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,