Removing redundant to_owned

This commit is contained in:
Dessalines 2020-04-11 14:10:33 -04:00
parent 938c61b94f
commit d9d52d7d06

View file

@ -59,7 +59,7 @@ async fn main() -> io::Result<()> {
)) ))
.service(actix_files::Files::new( .service(actix_files::Files::new(
"/docs", "/docs",
settings.front_end_dir.to_owned() + "/documentation", settings.front_end_dir + "/documentation",
)) ))
}) })
.bind((settings.bind, settings.port))? .bind((settings.bind, settings.port))?