docs: fix doc comment for request_summary

Co-authored-by: Derek Argueta <darguetap@gmail.com>
This commit is contained in:
Yuchen Wu 2024-08-30 16:22:43 -07:00 committed by Edward Wang
parent 61700443bf
commit 5a4a2883ad
3 changed files with 3 additions and 3 deletions

2
.bleep
View file

@ -1 +1 @@
d4fa38fb7c9b12dd533b95a9d0352e8693dafe14
ed4f7c51958b688c6bea000c37dc2ba54f2ccc15

View file

@ -319,7 +319,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: {}",

View file

@ -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: {}:{}",