mirror of
https://github.com/chronotope/chrono.git
synced 2025-11-13 20:03:30 +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)]
|
#[doc(no_inline)]
|
||||||
pub use duration::OutOfRangeError;
|
pub use duration::OutOfRangeError;
|
||||||
|
|
||||||
|
/// Alias of [`Duration`].
|
||||||
|
pub type TimeDelta = Duration;
|
||||||
|
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
|
|
||||||
/// A convenience module appropriate for glob imports (`use chrono::prelude::*;`).
|
/// A convenience module appropriate for glob imports (`use chrono::prelude::*;`).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user