1
0
mirror of https://github.com/actix/actix-website synced 2025-06-27 07:29:02 +02:00

Fix PR comments

This commit is contained in:
Sven-Hendrik Haase
2019-08-06 01:30:50 +02:00
parent 553fe281fc
commit 04bca7bf82
2 changed files with 11 additions and 9 deletions

View File

@ -10,14 +10,14 @@ fn index2() -> impl Responder {
}
// </setup>
// <alternative>
// <macro-attributes>
use actix_web::get;
#[get("/alternative")]
#[get("/hello")]
fn index3() -> impl Responder {
HttpResponse::Ok().body("Sweet syntax!")
HttpResponse::Ok().body("Hey there!")
}
// </alternative>
// </macro-attributes>
// <main>
fn main() {