clippy fixes
This commit is contained in:
committed by
Dustin J. Mitchell
parent
52fdc6a877
commit
ae028983b6
@@ -88,17 +88,17 @@ impl SyncOp {
|
|||||||
|
|
||||||
// Two updates to the same property of the same task might conflict.
|
// Two updates to the same property of the same task might conflict.
|
||||||
(
|
(
|
||||||
&Update {
|
Update {
|
||||||
uuid: ref uuid1,
|
uuid: uuid1,
|
||||||
property: ref property1,
|
property: property1,
|
||||||
value: ref value1,
|
value: value1,
|
||||||
timestamp: ref timestamp1,
|
timestamp: timestamp1,
|
||||||
},
|
},
|
||||||
&Update {
|
Update {
|
||||||
uuid: ref uuid2,
|
uuid: uuid2,
|
||||||
property: ref property2,
|
property: property2,
|
||||||
value: ref value2,
|
value: value2,
|
||||||
timestamp: ref timestamp2,
|
timestamp: timestamp2,
|
||||||
},
|
},
|
||||||
) if uuid1 == uuid2 && property1 == property2 => {
|
) if uuid1 == uuid2 && property1 == property2 => {
|
||||||
// if the value is the same, there's no conflict
|
// if the value is the same, there's no conflict
|
||||||
|
|||||||
Reference in New Issue
Block a user