From ca9aa01f6b1bc53e4b089bf8aa4c5775b1e54d8b Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Fri, 16 Jul 2021 22:32:42 +0800 Subject: [PATCH] Docs --- src/entity/base_entity.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/entity/base_entity.rs b/src/entity/base_entity.rs index a3bfea7f7..ef9386e4d 100644 --- a/src/entity/base_entity.rs +++ b/src/entity/base_entity.rs @@ -18,7 +18,8 @@ pub trait EntityName: IdenStatic + Default { Self::table_name(self) } } -/// Each table in database correspond to a Entity implemented [`EntityTrait`]. + +/// An Entity implementing `EntityTrait` represents a table in a database. /// /// This trait provides an API for you to inspect it's properties /// - Column (implemented [`ColumnTrait`])