mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-02 15:24:54 +00:00
Fix typo in main.rs (#381)
This commit is contained in:
parent
ce5834ab80
commit
8ca5538405
@ -47,7 +47,7 @@ struct User {
|
|||||||
username: String,
|
username: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
// We define our own `Json` extactor that customizes the error from `axum::Json`
|
// We define our own `Json` extractor that customizes the error from `axum::Json`
|
||||||
struct Json<T>(T);
|
struct Json<T>(T);
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user