mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-18 00:00:15 +02:00
Fix dead code warnings (#373)
This commit is contained in:
@@ -41,6 +41,7 @@ async fn handler(Json(user): Json<User>) {
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[allow(dead_code)]
|
||||
struct User {
|
||||
id: i64,
|
||||
username: String,
|
||||
|
||||
Reference in New Issue
Block a user