From 80976116de6b93a27e2074f9a51157993dd7f29b Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Sun, 18 Jul 2021 00:02:40 +0800 Subject: [PATCH] Fix clippy warning --- sea-orm-codegen/src/entity/{entity.rs => base_entity.rs} | 0 sea-orm-codegen/src/entity/mod.rs | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename sea-orm-codegen/src/entity/{entity.rs => base_entity.rs} (100%) diff --git a/sea-orm-codegen/src/entity/entity.rs b/sea-orm-codegen/src/entity/base_entity.rs similarity index 100% rename from sea-orm-codegen/src/entity/entity.rs rename to sea-orm-codegen/src/entity/base_entity.rs diff --git a/sea-orm-codegen/src/entity/mod.rs b/sea-orm-codegen/src/entity/mod.rs index 5badda4f..c1f43126 100644 --- a/sea-orm-codegen/src/entity/mod.rs +++ b/sea-orm-codegen/src/entity/mod.rs @@ -1,13 +1,13 @@ +mod base_entity; mod column; -mod entity; mod generator; mod primary_key; mod relation; mod transformer; mod writer; +pub use base_entity::*; pub use column::*; -pub use entity::*; pub use generator::*; pub use primary_key::*; pub use relation::*;