Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Nov 2, 2021
1 parent 158893c commit 7309f8a
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/entity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@
/// #### Example for creating an Entity, Model and ActiveModel
/// ```
/// #[cfg(feature = "macros")]
///
/// # use sea_orm::entity::prelude::*;
/// use sea_orm::ActiveModelBehavior;
/// use sea_orm::RelationDef;
/// use sea_orm::RelationTrait;
/// use sea_orm::ColumnType;
/// use sea_orm::ColumnDef;
/// use sea_orm::ColumnTrait;
/// use sea_orm::PrimaryKeyTrait;
/// use sea_orm::ColumnType;
/// use sea_orm::EntityName;
/// use sea_orm::PrimaryKeyTrait;
/// use sea_orm::RelationDef;
/// use sea_orm::RelationTrait;
///
/// // Use [DeriveEntity] to derive the EntityTrait automatically
/// #[derive(Copy, Clone, Default, Debug, DeriveEntity)]
Expand Down Expand Up @@ -72,7 +71,6 @@
/// }
/// }
///
///
/// #[derive(Copy, Clone, Debug, EnumIter)]
/// pub enum Relation {}
///
Expand All @@ -96,7 +94,6 @@
/// // Implement user defined operations for CREATE, UPDATE and DELETE operations
/// // to create an ActiveModel using the [ActiveModelBehavior]
/// impl ActiveModelBehavior for ActiveModel {}
///
/// ```
mod active_model;
mod base_entity;
Expand Down

0 comments on commit 7309f8a

Please sign in to comment.