]> Untitled Git - lemmy.git/commitdiff
Removing redundant to_owned
authorDessalines <tyhou13@gmx.com>
Sat, 11 Apr 2020 18:10:33 +0000 (14:10 -0400)
committerDessalines <tyhou13@gmx.com>
Sat, 11 Apr 2020 18:10:33 +0000 (14:10 -0400)
server/src/main.rs

index 1c79c9ee359830833d659e28d41466c10d888345..f3887527571a43b7424295a5d599dff3eb26bd74 100644 (file)
@@ -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))?