diff --git a/library/core/src/time.rs b/library/core/src/time.rs index 816da7a2fb7f2..5126733a675a6 100644 --- a/library/core/src/time.rs +++ b/library/core/src/time.rs @@ -401,6 +401,8 @@ impl Duration { /// Creates a new `Duration` from the specified number of hours. /// + /// For this method, one hour is defined as 60 minutes, or 3,600 seconds. + /// /// # Panics /// /// Panics if the given number of hours overflows the `Duration` size. @@ -429,6 +431,8 @@ impl Duration { /// Creates a new `Duration` from the specified number of minutes. /// + /// For this method, one minute is defined as 60 seconds. + /// /// # Panics /// /// Panics if the given number of minutes overflows the `Duration` size.