mirror of
https://github.com/actix/actix-web.git
synced 2024-09-09 05:08:32 +00:00
fix fmratting
This commit is contained in:
parent
a163e75318
commit
03f7d95d88
1 changed files with 0 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue