From: Dessalines Date: Sat, 11 Apr 2020 18:10:33 +0000 (-0400) Subject: Removing redundant to_owned X-Git-Url: http://these/git/readmes/%24%7B%60data:application/%7BpictrsAvatarThumbnail%28community.icon%29%7D?a=commitdiff_plain;h=c92201a6743650a08b58413733d15d2559c06c8b;p=lemmy.git Removing redundant to_owned --- 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))?