Skip to content
/ rust Public
forked from rust-lang/rust

Commit 88bd191

Browse files
committed
Point UNIX_EPOCH to associated constant in SystemTime docs
1 parent 883f9f7 commit 88bd191

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/time.rs

+1
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)