From c1f8ebee1d49bb274888d86945b5f43926e77a5d Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 1 Jun 2020 22:25:21 -0700 Subject: [PATCH] slight typo in parameters fixed --- server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main.rs b/server/src/main.rs index ef880c4..ced58f9 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -25,7 +25,7 @@ fn map_qs(string: Option<&str>) -> HashMap<&str, Option<&str>> { unimplemented!() } -async fn route_dispatcher(resp: &Response, meth: &Method, &path: &str, params: &HashMap<&str, Option<&str>>) { +async fn route_dispatcher(resp: &Response, meth: &Method, path: &str, params: &HashMap<&str, Option<&str>>) { // we do have to handle some general hyper errors unimplemented!() }