Skip to content

Commit

Permalink
issues-179 Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrivosheev committed Apr 4, 2022
1 parent 2035998 commit 4337d07
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/query/on_conflict.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::{DynIden, Expr, IntoIden, SimpleExpr, Value};

#[derive(Debug, Clone)]
#[derive(Debug, Clone, Default)]
pub struct OnConflict {
pub(crate) target: Option<OnConflictTarget>,
pub(crate) action: Option<OnConflictAction>,
Expand Down Expand Up @@ -226,12 +226,3 @@ impl OnConflict {
self
}
}

impl Default for OnConflict {
fn default() -> Self {
Self {
target: None,
action: None,
}
}
}

0 comments on commit 4337d07

Please sign in to comment.