From 51c2d4b5efeee571bb58dfeab4c3e6f90b52e184 Mon Sep 17 00:00:00 2001 From: Sebastian Goll <1277035+sgoll@users.noreply.github.com> Date: Wed, 12 Jun 2024 21:09:15 +0200 Subject: [PATCH] Fix typo in rustdoc of from_timestamp_nanos() --- src/datetime/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datetime/mod.rs b/src/datetime/mod.rs index 2e9ce150..f463c2ab 100644 --- a/src/datetime/mod.rs +++ b/src/datetime/mod.rs @@ -822,7 +822,7 @@ impl DateTime { Self::from_timestamp(secs, nsecs) } - /// Creates a new [`DateTime`] from the number of non-leap microseconds + /// Creates a new [`DateTime`] from the number of non-leap nanoseconds /// since January 1, 1970 0:00:00.000 UTC (aka "UNIX timestamp"). /// /// This is guaranteed to round-trip with [`timestamp_nanos`](DateTime::timestamp_nanos).