Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
threecgreen committed Mar 7, 2021
1 parent 044b4d7 commit 5364fb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wines/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ use serde::{Deserialize, Serialize};
use typescript_definitions::TypeScriptify;

pub struct RawWineForm {
/// raw submitted wine image
pub image: Option<Image>,
/// JSON data for database
pub wine_form: WineForm,
/// raw submitted wine image
pub image: Option<Image>,
}

#[derive(Serialize, TypeScriptify, Debug)]
Expand Down

0 comments on commit 5364fb2

Please sign in to comment.