Skip to content

Commit

Permalink
it's not pub struct
Browse files Browse the repository at this point in the history
  • Loading branch information
m4salah committed Dec 8, 2023
1 parent 099fcec commit 48f07f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlers/day7.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ async fn santa_cookie(headers: HeaderMap) -> impl IntoResponse {

#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RecipePantry {
struct RecipePantry {
pub recipe: Value,
pub pantry: Value,
}

#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CookieResult {
struct CookieResult {
pub cookies: i64,
pub pantry: Value,
}
Expand Down

0 comments on commit 48f07f5

Please sign in to comment.