From fd6036a8b9c9eb71adfef395e4ed5ecf2c87fc90 Mon Sep 17 00:00:00 2001 From: Brandon W Maister Date: Fri, 23 Jun 2017 14:59:43 -0500 Subject: [PATCH] Fix Clippy lints: assign_op_pattern --- src/format/parsed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/parsed.rs b/src/format/parsed.rs index 3ba371d..b28d735 100644 --- a/src/format/parsed.rs +++ b/src/format/parsed.rs @@ -538,7 +538,7 @@ impl Parsed { // it's okay, just do not try to overwrite the existing field. 59 => {} // `datetime` is known to be off by one second. - 0 => { datetime = datetime - OldDuration::seconds(1); } + 0 => { datetime -= OldDuration::seconds(1); } // otherwise it is impossible. _ => return Err(IMPOSSIBLE) }