File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,6 @@ non_ascii_idents = "forbid"
211
211
# Deny
212
212
future_incompatible = { level = " deny" , priority = -1 }
213
213
noop_method_call = " deny"
214
- pointer_structural_match = " deny"
215
214
rust_2018_idioms = { level = " deny" , priority = -1 }
216
215
rust_2021_compatibility = { level = " deny" , priority = -1 }
217
216
trivial_casts = " deny"
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ impl OrgPolicy {
114
114
// We need to make sure we're not going to violate the unique constraint on org_uuid and atype.
115
115
// This happens automatically on other DBMS backends due to replace_into(). PostgreSQL does
116
116
// not support multiple constraints on ON CONFLICT clauses.
117
- diesel:: delete(
117
+ let _ : ( ) = diesel:: delete(
118
118
org_policies:: table
119
119
. filter( org_policies:: org_uuid. eq( & self . org_uuid) )
120
120
. filter( org_policies:: atype. eq( & self . atype) ) ,
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ impl TwoFactor {
95
95
// We need to make sure we're not going to violate the unique constraint on user_uuid and atype.
96
96
// This happens automatically on other DBMS backends due to replace_into(). PostgreSQL does
97
97
// not support multiple constraints on ON CONFLICT clauses.
98
- diesel:: delete( twofactor:: table. filter( twofactor:: user_uuid. eq( & self . user_uuid) ) . filter( twofactor:: atype. eq( & self . atype) ) )
98
+ let _ : ( ) = diesel:: delete( twofactor:: table. filter( twofactor:: user_uuid. eq( & self . user_uuid) ) . filter( twofactor:: atype. eq( & self . atype) ) )
99
99
. execute( conn)
100
100
. map_res( "Error deleting twofactor for insert" ) ?;
101
101
You can’t perform that action at this time.
0 commit comments