diff options
| author | Leah <[email protected]> | 2018-03-23 13:54:12 +0100 |
|---|---|---|
| committer | alex <[email protected]> | 2018-03-23 13:54:12 +0100 |
| commit | fdcf44e1463e708cd8b612c183e302db9af0febd (patch) | |
| tree | 1a311f26fb38522ba380881fa6e72c0c2e5c54bc /src/internal/timer.rs | |
| parent | Fix Create(Embed/Message) to be consistent (diff) | |
| download | serenity-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.rs | 2 |
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, } } |