From 7974c60649351553e57727ea02f88b66f8835f0e Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Wed, 23 Oct 2024 21:13:17 -0700 Subject: [PATCH] Fix comment. --- 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 f463c2ab5b..db91561450 100644 --- a/src/datetime/mod.rs +++ b/src/datetime/mod.rs @@ -1727,7 +1727,7 @@ impl Sub<&DateTime> for DateTime { /// - The local time at the resulting date does not exist or is ambiguous, for example during a /// daylight saving time transition. /// -/// Strongly consider using `DateTime::checked_sub_days` to get an `Option` instead. +/// Strongly consider using `DateTime::checked_add_days` to get an `Option` instead. impl Add for DateTime { type Output = DateTime;