mirror of
https://github.com/actix/actix-website
synced 2025-06-29 16:24:58 +02:00
Updates front-page flexible-responders to v1.0
This commit is contained in:
@ -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">
|
||||
|
Reference in New Issue
Block a user