Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
novacrazy committed Jul 18, 2018
1 parent 4a66b17 commit a88ee8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datetime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<E>(self, value: i64) -> Result<DateTime<Utc>, E>
where E: de::Error
{
Expand All @@ -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<E>(self, value: u64) -> Result<DateTime<Utc>, E>
where E: de::Error
{
Expand Down

0 comments on commit a88ee8f

Please sign in to comment.