Fix typo in example (#1439)

This commit is contained in:
Horu
2022-10-01 13:49:15 +00:00
committed by GitHub
parent b94248191e
commit a3c58a18ed
@@ -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.
//