1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-01-18 13:51:50 +01:00

fix fmratting

This commit is contained in:
Nikolay Kim 2017-12-04 13:36:28 -08:00
parent a163e75318
commit 03f7d95d88

View File

@ -19,7 +19,6 @@ has same url path prefix:
# fn index(req: HttpRequest) -> &'static str { # fn index(req: HttpRequest) -> &'static str {
# "Hello world!" # "Hello world!"
# } # }
# fn main() { # fn main() {
let app = Application::default("/prefix") let app = Application::default("/prefix")
.resource("/index.html", |r| r.method(Method::GET).handler(index)) .resource("/index.html", |r| r.method(Method::GET).handler(index))