From 5f78873a96a6aa5d7f9a276abbf4cab967c4c31f 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 cbf383737d..d372491db7 100644 --- a/src/datetime/mod.rs +++ b/src/datetime/mod.rs @@ -349,7 +349,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 {