Removing redundant to_owned

This commit is contained in:
Dessalines 2020-04-11 14:10:33 -04:00
parent 61815bce2e
commit c92201a674

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