Skip to content

Commit 827ee7a

Browse files
committed
Fix system call docs for time::Instant
The link for UNIX was pointing to the Cloud ABI docs. It should have been pointing to the clock_gettime docs instead. The table is repeated in the docs for SystemTime, but there the UNIX entry was already correct.
1 parent 3ebcfa1 commit 827ee7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/time.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub use core::time::Duration;
6767
/// |:---------:|:--------------------------------------------------------------------:|
6868
/// | Cloud ABI | [clock_time_get (Monotonic Clock)] |
6969
/// | SGX | [`insecure_time` usercall]. More information on [timekeeping in SGX] |
70-
/// | UNIX | [clock_time_get (Monotonic Clock)] |
70+
/// | UNIX | [clock_gettime (Monotonic Clock)] |
7171
/// | Darwin | [mach_absolute_time] |
7272
/// | VXWorks | [clock_gettime (Monotonic Clock)] |
7373
/// | WASI | [__wasi_clock_time_get (Monotonic Clock)] |

0 commit comments

Comments
 (0)