aboutsummaryrefslogtreecommitdiff
path: root/src/internal/timer.rs
diff options
context:
space:
mode:
authorLeah <[email protected]>2018-03-23 13:54:12 +0100
committeralex <[email protected]>2018-03-23 13:54:12 +0100
commitfdcf44e1463e708cd8b612c183e302db9af0febd (patch)
tree1a311f26fb38522ba380881fa6e72c0c2e5c54bc /src/internal/timer.rs
parentFix Create(Embed/Message) to be consistent (diff)
downloadserenity-fdcf44e1463e708cd8b612c183e302db9af0febd.tar.xz
serenity-fdcf44e1463e708cd8b612c183e302db9af0febd.zip
Change the way ids and some enums are made (#295)
This makes them easier to be found by tools like rls. Also update struct inits to use the shorthand version for `x: x`.
Diffstat (limited to 'src/internal/timer.rs')
-rw-r--r--src/internal/timer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/timer.rs b/src/internal/timer.rs
index fa2fcc2..18ca672 100644
--- a/src/internal/timer.rs
+++ b/src/internal/timer.rs
@@ -14,7 +14,7 @@ impl Timer {
Timer {
due: Utc::now() + duration,
- duration: duration,
+ duration,
}
}