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

Updates front-page flexible-responders to v1.0

This commit is contained in:
Cameron Dershem
2019-06-12 23:25:00 -04:00
parent 118286afb1
commit d2a2fc6979
4 changed files with 42 additions and 9 deletions

View File

@ -79,7 +79,7 @@ fn hello_world() -> impl Responder {
}
fn current_temperature(_req: HttpRequest) -> impl Responder {
Json(Measurement { temperature: 42.3 })
web::Json(Measurement { temperature: 42.3 })
}` "rust" "" }}
</div>
<div class="actix-feature" id="extractors">