diff options
| author | Zeyla Hellyer <[email protected]> | 2017-08-18 17:49:57 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-08-18 17:53:13 -0700 |
| commit | 9dc04164b4f72a86e06a18d49292b04c7ccc964a (patch) | |
| tree | f7b39dc97f9d3392c9710ce50666ea109fb916c6 /src/model/mod.rs | |
| parent | travis: simplify caching config (diff) | |
| download | serenity-9dc04164b4f72a86e06a18d49292b04c7ccc964a.tar.xz serenity-9dc04164b4f72a86e06a18d49292b04c7ccc964a.zip | |
Clippy lints
Diffstat (limited to 'src/model/mod.rs')
| -rw-r--r-- | src/model/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs index d8bbb2b..d512ffb 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -57,7 +57,7 @@ macro_rules! id_u64 { pub fn created_at(&self) -> NaiveDateTime { let offset = (self.0 >> 22) / 1000; - NaiveDateTime::from_timestamp(1420070400 + offset as i64, 0) + NaiveDateTime::from_timestamp(1_420_070_400 + offset as i64, 0) } } |