Skip to content

Commit 9fa7caf

Browse files
committed
Fix doc
1 parent e4b28f4 commit 9fa7caf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

httpbis/src/common/stream_after_headers.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ pub trait StreamAfterHeaders: fmt::Debug + Unpin + Send + 'static {
3030
cx: &mut Context<'_>,
3131
) -> Poll<Option<crate::Result<DataOrTrailers>>>;
3232

33-
/// `Stream`-like operation.
33+
/// Fetch next frame and auto-update in window.
3434
fn poll_next(&mut self, cx: &mut Context<'_>) -> Poll<Option<crate::Result<DataOrTrailers>>>;
3535

3636
/// Poll `DATA` frame from the stream.
3737
///
3838
/// Note when this operation returns `None`, trailers can still be fetched
39-
/// with [`poll_trailers`].
39+
/// with [`poll_trailers`](Self::poll_trailers).
4040
fn poll_data(&mut self, cx: &mut Context<'_>) -> Poll<Option<crate::Result<Bytes>>>;
4141

4242
/// Poll trailing `HEADERS` frame from the stream.
@@ -55,7 +55,7 @@ pub trait StreamAfterHeaders: fmt::Debug + Unpin + Send + 'static {
5555
///
5656
/// Note this operation might be expensive, because each invocation sends a `WINDOW_UPDATE`
5757
/// frame. You probably might want to use default or update the default with
58-
/// [`set_auto_in_window_size`].
58+
/// [`set_auto_in_window_size`](Self::set_auto_in_window_size).
5959
fn inc_in_window(&mut self, delta: u32) -> crate::Result<()>;
6060

6161
/// Window will be increased each time current window size drops below the half

0 commit comments

Comments
 (0)