Skip to content

Commit

Permalink
Fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
Icelk committed Jul 19, 2023
1 parent d52d371 commit 73fd3f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl Debug for Body {
/// A pipe to send a [`Response`] through.
///
/// You may also push requests if the pipe is [`ResponsePipe::Http2`]
/// by calling [`ResponsePipe::push_request`].
/// by calling [`ResponseBodyPipe::push_request`]. after you call [`ResponsePipe::send_response`].
#[must_use]
pub enum ResponsePipe {
/// An HTTP/1 stream to send a response.
Expand Down Expand Up @@ -945,7 +945,7 @@ mod response {
///
/// # Errors
///
/// If you try to push if `self` is [`ResponsePipe::Http1`], an [`Error::PushOnHttp1`] is returned.
/// If you try to push if `self` is [`ResponsePipe::Http1`], an [`Error::UnsupportedPush`] is returned.
/// Returns errors from [`h2::server::SendResponse::push_request()`].
#[inline]
#[allow(clippy::needless_pass_by_value)]
Expand Down

0 comments on commit 73fd3f6

Please sign in to comment.