diff options
| author | Noa <coolreader18@gmail.com> | 2025-04-17 11:37:54 -0500 |
|---|---|---|
| committer | Noa <coolreader18@gmail.com> | 2025-04-17 11:37:54 -0500 |
| commit | 88bd1913f2804c9204b72f60b61aad4449d832c3 (patch) | |
| tree | d85f60c829151bf57d7008a75e38bd2da1e417f4 | |
| parent | 883f9f72e87ccb6838d528d8158ea6323baacc65 (diff) | |
| download | rust-88bd1913f2804c9204b72f60b61aad4449d832c3.tar.gz rust-88bd1913f2804c9204b72f60b61aad4449d832c3.zip | |
Point UNIX_EPOCH to associated constant in SystemTime docs
| -rw-r--r-- | library/std/src/time.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/time.rs b/library/std/src/time.rs index 5ab71413586..6e28596e79b 100644 --- a/library/std/src/time.rs +++ b/library/std/src/time.rs @@ -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); |
