fix: restore dead_code allow on CreatePostRequest to suppress warning
This commit is contained in:
parent
1830fc9f2e
commit
e5ce1580e2
@ -565,6 +565,7 @@ async fn row_to_post_full(client: &tokio_postgres::Client, row: &tokio_postgres:
|
||||
// ============================================================================
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
#[allow(dead_code)]
|
||||
pub struct CreatePostRequest {
|
||||
pub title: String,
|
||||
pub slug: Option<String>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user