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 3caf9f6 commit 5f78873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datetime/mod.rs
Expand Up @@ -349,7 +349,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 5f78873

Please sign in to comment.