aboutsummaryrefslogtreecommitdiff
path: root/src/api/api_server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/api_server.rs')
-rw-r--r--src/api/api_server.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/api/api_server.rs b/src/api/api_server.rs
index 92a9f2a6..8ace2b52 100644
--- a/src/api/api_server.rs
+++ b/src/api/api_server.rs
@@ -67,10 +67,7 @@ async fn handler(
}
}
-async fn handler_inner(
- garage: Arc<Garage>,
- req: Request<Body>,
-) -> Result<Response<Body>, Error> {
+async fn handler_inner(garage: Arc<Garage>, req: Request<Body>) -> Result<Response<Body>, Error> {
let path = req.uri().path().to_string();
let path = percent_encoding::percent_decode_str(&path).decode_utf8()?;