1
Fork 0

Point UNIX_EPOCH to associated constant in SystemTime docs

This commit is contained in:
Noa 2025-04-17 11:37:54 -05:00
parent 883f9f72e8
commit 88bd1913f2
No known key found for this signature in database
GPG key ID: 7F9F7DB1768C59CF

View file

@ -245,6 +245,7 @@ pub struct Instant(time::Instant);
/// > structure cannot represent the new point in time.
///
/// [`add`]: SystemTime::add
/// [`UNIX_EPOCH`]: SystemTime::UNIX_EPOCH
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[stable(feature = "time2", since = "1.8.0")]
pub struct SystemTime(time::SystemTime);