fix: restore dead_code allow on CreatePostRequest to suppress warning

This commit is contained in:
xfy 2026-06-04 16:25:05 +08:00
parent 1830fc9f2e
commit e5ce1580e2

View File

@ -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>,