From d9d52d7d06e96aa0ff9e2461446e229a3cae47db Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 11 Apr 2020 14:10:33 -0400 Subject: [PATCH] Removing redundant to_owned --- 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 1c79c9ee3..f38875275 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -59,7 +59,7 @@ async fn main() -> io::Result<()> { )) .service(actix_files::Files::new( "/docs", - settings.front_end_dir.to_owned() + "/documentation", + settings.front_end_dir + "/documentation", )) }) .bind((settings.bind, settings.port))?