Skip to content

Commit

Permalink
docs: fix doc comment for request_summary
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Argueta <darguetap@gmail.com>
  • Loading branch information
derekargueta committed Jul 16, 2024
1 parent 42a847d commit 471d4bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pingora-core/src/protocols/http/v1/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ impl HttpSession {
.map_or(b"", |h| h.as_bytes())
}

/// Return a string `$METHOD $PATH $HOST`. Mostly for logging and debug purpose
/// Return a string `$METHOD $PATH, Host: $HOST`. Mostly for logging and debug purpose
pub fn request_summary(&self) -> String {
format!(
"{} {}, Host: {}",
Expand Down
2 changes: 1 addition & 1 deletion pingora-core/src/protocols/http/v2/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ impl HttpSession {
Ok(end_stream)
}

/// Return a string `$METHOD $PATH $HOST`. Mostly for logging and debug purpose
/// Return a string `$METHOD $PATH, Host: $HOST`. Mostly for logging and debug purpose
pub fn request_summary(&self) -> String {
format!(
"{} {}, Host: {}",
Expand Down

0 comments on commit 471d4bc

Please sign in to comment.