agate

Simple gemini server for static files
git clone https://github.com/mbrubeck/agate.git
Log | Files | Refs | README

commit 0411a8278f269a5a94b552f5f368372044cfdcb5
parent f0789921e04d1eb260c7dec3da5a66cd71c45d70
Author: Johann150 <johann.galle@protonmail.com>
Date:   Mon, 25 Jan 2021 21:55:35 +0100

fix doc comment

Diffstat:
Msrc/main.rs | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

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