Removing redundant to_owned
This commit is contained in:
parent
61815bce2e
commit
c92201a674
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue