1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-03-26 00:27:01 +01:00

Fix typo in example ()

This commit is contained in:
Horu 2022-10-01 20:49:15 +07:00 committed by GitHub
parent b94248191e
commit a3c58a18ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ use serde_json::{json, Value};
use thiserror::Error;
pub async fn handler(
// `WitRejection` will extract `Json<Value>` from the request. If it fails,
// `WithRejection` will extract `Json<Value>` from the request. If it fails,
// `JsonRejection` will be transform into `ApiError` and returned as response
// to the client.
//