mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 06:39:22 +02:00
fix fmratting
This commit is contained in:
@ -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))
|
||||||
|
Reference in New Issue
Block a user