Skip to content

Commit

Permalink
to -> from
Browse files Browse the repository at this point in the history
  • Loading branch information
esheppa committed Aug 23, 2022
1 parent 381b234 commit 5721f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime/mod.rs
Expand Up @@ -376,7 +376,7 @@ impl<Tz: TimeZone> DateTime<Tz> {
.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<Self> {
Expand Down

0 comments on commit 5721f2b

Please sign in to comment.