diff --git a/crates/ptth_relay/src/lib.rs b/crates/ptth_relay/src/lib.rs index 0c1a49a..f0e7849 100644 --- a/crates/ptth_relay/src/lib.rs +++ b/crates/ptth_relay/src/lib.rs @@ -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, diff --git a/crates/ptth_relay/src/server_endpoint.rs b/crates/ptth_relay/src/server_endpoint.rs index 995bb70..a8cc899 100644 --- a/crates/ptth_relay/src/server_endpoint.rs +++ b/crates/ptth_relay/src/server_endpoint.rs @@ -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 , diff --git a/crates/ptth_server/src/file_server/mod.rs b/crates/ptth_server/src/file_server.rs similarity index 100% rename from crates/ptth_server/src/file_server/mod.rs rename to crates/ptth_server/src/file_server.rs