mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-18 05:41:50 +01:00
fix fmratting
This commit is contained in:
parent
a163e75318
commit
03f7d95d88
@ -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…
x
Reference in New Issue
Block a user