From 777dcd2662177177d7d44fcb0cdb364b04b4234b Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Fri, 2 Aug 2024 13:11:11 +0800 Subject: [PATCH] Fix clippy warnings --- sea-orm-macros/src/derives/util.rs | 3 ++- src/entity/mod.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sea-orm-macros/src/derives/util.rs b/sea-orm-macros/src/derives/util.rs index e59203f6f..a29345fbd 100644 --- a/sea-orm-macros/src/derives/util.rs +++ b/sea-orm-macros/src/derives/util.rs @@ -74,7 +74,8 @@ where /// - `"A B"` /// - `"A_B"` /// - `"A_ B"` -/// shares the same identifier of `"AB"`; +/// +/// All shares the same identifier of `"AB"`; /// /// This function does the PascelCase conversion with a few special escapes: /// - Non-Unicode Standard Annex #31 compliant characters will converted to their hex notation; diff --git a/src/entity/mod.rs b/src/entity/mod.rs index d58d4a4bb..6589db9cf 100644 --- a/src/entity/mod.rs +++ b/src/entity/mod.rs @@ -9,7 +9,7 @@ /// - The Column which is implemented by [ColumnTrait](crate::ColumnTrait) /// - A Relation which is implemented by [RelationTrait](crate::RelationTrait) /// - The Primary Key which is implemented by [PrimaryKeyTrait](crate::PrimaryKeyTrait) -/// and [PrimaryKeyToColumn](crate::PrimaryKeyToColumn) +/// and [PrimaryKeyToColumn](crate::PrimaryKeyToColumn) /// /// This trait also provides an API for CRUD actions ///