From 7309f8a624aacdb4e2727880fe3c914786f9a135 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Tue, 2 Nov 2021 14:39:45 +0800 Subject: [PATCH] cargo fmt --- src/entity/mod.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/entity/mod.rs b/src/entity/mod.rs index c2dd508d..55f58902 100644 --- a/src/entity/mod.rs +++ b/src/entity/mod.rs @@ -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)] @@ -72,7 +71,6 @@ /// } /// } /// -/// /// #[derive(Copy, Clone, Debug, EnumIter)] /// pub enum Relation {} /// @@ -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;