Skip to content

Commit 4337d07

Browse files
committed
issues-179 Fix clippy warning
1 parent 2035998 commit 4337d07

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/query/on_conflict.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::{DynIden, Expr, IntoIden, SimpleExpr, Value};
22

3-
#[derive(Debug, Clone)]
3+
#[derive(Debug, Clone, Default)]
44
pub struct OnConflict {
55
pub(crate) target: Option<OnConflictTarget>,
66
pub(crate) action: Option<OnConflictAction>,
@@ -226,12 +226,3 @@ impl OnConflict {
226226
self
227227
}
228228
}
229-
230-
impl Default for OnConflict {
231-
fn default() -> Self {
232-
Self {
233-
target: None,
234-
action: None,
235-
}
236-
}
237-
}

0 commit comments

Comments
 (0)