diff --git a/src/time_delta.rs b/src/time_delta.rs index d03068969..3eb041ad5 100644 --- a/src/time_delta.rs +++ b/src/time_delta.rs @@ -281,6 +281,7 @@ impl TimeDelta { } /// Returns the total number of whole days in the `TimeDelta`. + #[inline] pub const fn num_days(&self) -> i64 { self.num_seconds() / SECS_PER_DAY }