diff options
| author | acdenisSK <[email protected]> | 2017-07-27 06:42:48 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-27 07:30:23 +0200 |
| commit | 550030264952f0e0043b63f4582bb817ef8bbf37 (patch) | |
| tree | b921e2f78fd603a5ca671623083a32806fd16090 /src/internal/timer.rs | |
| parent | Use a consistent indentation style (diff) | |
| download | serenity-550030264952f0e0043b63f4582bb817ef8bbf37.tar.xz serenity-550030264952f0e0043b63f4582bb817ef8bbf37.zip | |
rustfmt
Diffstat (limited to 'src/internal/timer.rs')
| -rw-r--r-- | src/internal/timer.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/internal/timer.rs b/src/internal/timer.rs index 1b51dda..0bd0d13 100644 --- a/src/internal/timer.rs +++ b/src/internal/timer.rs @@ -46,7 +46,5 @@ impl Timer { } } - pub fn reset(&mut self) { - self.due = Utc::now() + self.duration; - } + pub fn reset(&mut self) { self.due = Utc::now() + self.duration; } } |