Skip to content

Commit 779deec

Browse files
committed
Point UNIX_EPOCH to associated constant in SystemTime docs
1 parent 9a520f8 commit 779deec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

std/src/time.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ pub struct Instant(time::Instant);
245245
/// > structure cannot represent the new point in time.
246246
///
247247
/// [`add`]: SystemTime::add
248+
/// [`UNIX_EPOCH`]: SystemTime::UNIX_EPOCH
248249
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
249250
#[stable(feature = "time2", since = "1.8.0")]
250251
pub struct SystemTime(time::SystemTime);

0 commit comments

Comments
 (0)