fix doc comment

This commit is contained in:
Johann150 2021-01-25 21:55:35 +01:00 committed by Matt Brubeck
parent f0789921e0
commit 0411a8278f

View file

@ -168,10 +168,9 @@ impl RequestHandle {
} }
} }
/// Do the necessary actions to handle this request. If the handle is already /// Do the necessary actions to handle this request. Returns a corresponding
/// in an error state, does nothing. /// log line as Err or Ok, depending on if the request finished with or
/// Finally return the generated log line content. If this contains /// without errors.
/// the string ` error:`, the handle ended in an error state.
async fn handle(mut self) -> Result<String, String> { async fn handle(mut self) -> Result<String, String> {
// not already in error condition // not already in error condition
let result = match self.parse_request().await { let result = match self.parse_request().await {