mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 15:26:12 +00:00
Fix typo in rustdoc of from_timestamp_nanos()
This commit is contained in:
parent
de2f1f4cee
commit
51c2d4b5ef
@ -822,7 +822,7 @@ impl DateTime<Utc> {
|
|||||||
Self::from_timestamp(secs, nsecs)
|
Self::from_timestamp(secs, nsecs)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Creates a new [`DateTime<Utc>`] from the number of non-leap microseconds
|
/// Creates a new [`DateTime<Utc>`] from the number of non-leap nanoseconds
|
||||||
/// since January 1, 1970 0:00:00.000 UTC (aka "UNIX timestamp").
|
/// since January 1, 1970 0:00:00.000 UTC (aka "UNIX timestamp").
|
||||||
///
|
///
|
||||||
/// This is guaranteed to round-trip with [`timestamp_nanos`](DateTime::timestamp_nanos).
|
/// This is guaranteed to round-trip with [`timestamp_nanos`](DateTime::timestamp_nanos).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user