From a88ee8f719872b42925b73fc50d73c1f40b913ec Mon Sep 17 00:00:00 2001 From: novacrazy Date: Wed, 18 Jul 2018 04:45:11 -0500 Subject: [PATCH] Fix doc --- src/datetime.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/datetime.rs b/src/datetime.rs index f1a7377ff8..2e553062db 100644 --- a/src/datetime.rs +++ b/src/datetime.rs @@ -978,7 +978,7 @@ pub mod serde { write!(formatter, "a unix timestamp in seconds") } - /// Deserialize a timestamp in seconds since the epoch + /// Deserialize a timestamp in nanoseconds since the epoch fn visit_i64(self, value: i64) -> Result, E> where E: de::Error { @@ -987,7 +987,7 @@ pub mod serde { &value) } - /// Deserialize a timestamp in seconds since the epoch + /// Deserialize a timestamp in nanoseconds since the epoch fn visit_u64(self, value: u64) -> Result, E> where E: de::Error {