fix clippy warnings
This commit is contained in:
parent
2f90207d64
commit
23215c8dd5
@ -68,6 +68,7 @@ pub trait ActiveModelTrait: Clone + Debug {
|
||||
|
||||
fn default() -> Self;
|
||||
|
||||
#[allow(clippy::question_mark)]
|
||||
fn get_primary_key_value(&self) -> Option<ValueTuple> {
|
||||
let mut cols = <Self::Entity as EntityTrait>::PrimaryKey::iter();
|
||||
macro_rules! next {
|
||||
|
Loading…
x
Reference in New Issue
Block a user