From 5721f2b36525752574895f6d19ffeeda9f067c98 Mon Sep 17 00:00:00 2001 From: Eric Sheppard Date: Tue, 23 Aug 2022 22:33:05 +1000 Subject: [PATCH] to -> from --- 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 48eb85001a..7131279bc3 100644 --- a/src/datetime/mod.rs +++ b/src/datetime/mod.rs @@ -376,7 +376,7 @@ impl DateTime { .single() } - /// Subtract a duration in [`Days`] to the date part of the `DateTime` + /// Subtract a duration in [`Days`] from the date part of the `DateTime` /// /// Returns `None` if the resulting date would be out of range. pub fn checked_sub_days(self, days: Days) -> Option {