Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Mar 8, 2024
1 parent a18c987 commit a148a44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions examples/databases/sea-orm/src/entities/todo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,16 @@
use sea_orm::entity::prelude::*;
use serde::{Deserialize, Serialize};

///
#[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Deserialize, Serialize)]
#[sea_orm(table_name = "todos")]
pub struct Model {
///
#[sea_orm(primary_key)]
#[serde[skip_deserializing]]
pub id: i32,
///
pub text: String,
///
pub completed: bool,
}
///

#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}

Expand Down
1 change: 1 addition & 0 deletions examples/databases/sea-orm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(missing_docs)]
#![deny(warnings)]
//! `SeaOrm` example for Viz framework.
Expand Down

0 comments on commit a148a44

Please sign in to comment.