From 23215c8dd53000b3d7eca75be1bf842ab7d1842a Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Fri, 8 Oct 2021 18:22:25 +0800 Subject: [PATCH] fix clippy warnings --- src/entity/active_model.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entity/active_model.rs b/src/entity/active_model.rs index 0243cc7d..5b4289f9 100644 --- a/src/entity/active_model.rs +++ b/src/entity/active_model.rs @@ -68,6 +68,7 @@ pub trait ActiveModelTrait: Clone + Debug { fn default() -> Self; + #[allow(clippy::question_mark)] fn get_primary_key_value(&self) -> Option { let mut cols = ::PrimaryKey::iter(); macro_rules! next {