Fix Clippy lints: assign_op_pattern
This commit is contained in:
parent
de7f0f64f7
commit
fd6036a8b9
|
@ -538,7 +538,7 @@ impl Parsed {
|
||||||
// it's okay, just do not try to overwrite the existing field.
|
// it's okay, just do not try to overwrite the existing field.
|
||||||
59 => {}
|
59 => {}
|
||||||
// `datetime` is known to be off by one second.
|
// `datetime` is known to be off by one second.
|
||||||
0 => { datetime = datetime - OldDuration::seconds(1); }
|
0 => { datetime -= OldDuration::seconds(1); }
|
||||||
// otherwise it is impossible.
|
// otherwise it is impossible.
|
||||||
_ => return Err(IMPOSSIBLE)
|
_ => return Err(IMPOSSIBLE)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue