mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-21 00:00:14 +02:00
Fix typo in example (#1439)
This commit is contained in:
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user