aboutsummaryrefslogtreecommitdiff
path: root/src/internal/timer.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-27 06:42:48 +0200
committeracdenisSK <[email protected]>2017-07-27 07:30:23 +0200
commit550030264952f0e0043b63f4582bb817ef8bbf37 (patch)
treeb921e2f78fd603a5ca671623083a32806fd16090 /src/internal/timer.rs
parentUse a consistent indentation style (diff)
downloadserenity-550030264952f0e0043b63f4582bb817ef8bbf37.tar.xz
serenity-550030264952f0e0043b63f4582bb817ef8bbf37.zip
rustfmt
Diffstat (limited to 'src/internal/timer.rs')
-rw-r--r--src/internal/timer.rs4
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; }
}