♻️ refactor: get rid of mod.rs

main
_ 2021-04-29 23:03:01 +00:00
parent 90b6b6913e
commit 810a34463c
3 changed files with 4 additions and 4 deletions

View File

@ -97,8 +97,8 @@ fn error_reply (status: StatusCode, b: &str)
.body (format! ("{}\n", b).into ())
}
// Clients will come here to start requests, and always park for at least
// a short amount of time.
/// Clients will come here to start requests, and always park for at least
/// a short amount of time.
async fn handle_http_request (
req: http::request::Parts,

View File

@ -135,8 +135,8 @@ pub async fn handle_listen (
}
}
// Servers will come here to stream responses to clients
// Step 5
/// Servers will come here to stream responses to clients.
/// (Step 5 in the docs)
pub async fn handle_response (
req: Request <Body>,