mirror of
https://github.com/tokio-rs/axum.git
synced 2025-03-26 00:27:01 +01:00
Fix typo in example (#1439)
This commit is contained in:
parent
b94248191e
commit
a3c58a18ed
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue