mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 15:26:12 +00:00
Add TimeDelta
as type alias of Duration
This commit is contained in:
parent
f4b47013ed
commit
6659f7b9eb
@ -471,6 +471,9 @@ pub use duration::Duration;
|
||||
#[doc(no_inline)]
|
||||
pub use duration::OutOfRangeError;
|
||||
|
||||
/// Alias of [`Duration`].
|
||||
pub type TimeDelta = Duration;
|
||||
|
||||
use core::fmt;
|
||||
|
||||
/// A convenience module appropriate for glob imports (`use chrono::prelude::*;`).
|
||||
|
Loading…
x
Reference in New Issue
Block a user