From c92201a6743650a08b58413733d15d2559c06c8b 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 1c79c9ee..f3887527 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))?