chore: fix newly added warnings (#4253)

This commit is contained in:
Taiki Endo
2021-11-22 18:40:57 +09:00
committed by GitHub
parent 8b6542fc3e
commit fe770dc509
10 changed files with 14 additions and 18 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
}
fn handle_request(line: &str, db: &Arc<Database>) -> Response {
let request = match Request::parse(&line) {
let request = match Request::parse(line) {
Ok(req) => req,
Err(e) => return Response::Error { msg: e },
};