Removing redundant to_owned

pull/722/head
Dessalines 5 years ago
parent 61815bce2e
commit c92201a674

@ -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))?

Loading…
Cancel
Save