From 385102a5763f667d53a9d8ed2052ccb8c791bc91 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 12 Sep 2022 14:36:02 +0200 Subject: Clippy --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index fd58313..c20f667 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ async fn create_app() -> Router { Router::new() .route( - &format!("{}/:id", UPLOADS_ENDPOINT).to_owned(), + &format!("{}/:id", UPLOADS_ENDPOINT), get(crate::files::show_uploads), ) // Map all routes to `/v1/*` namespace -- cgit v1.2.3-71-g8e6c