From 827ee7a70adf923c3202c714b81a3a8b6c9ea29c Mon Sep 17 00:00:00 2001 From: Ruud van Asseldonk Date: Sun, 12 Jan 2020 21:24:31 +0100 Subject: [PATCH] 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. --- src/libstd/time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/time.rs b/src/libstd/time.rs index 0dce8f810eb13..0b6e728dceb1d 100644 --- a/src/libstd/time.rs +++ b/src/libstd/time.rs @@ -67,7 +67,7 @@ pub use core::time::Duration; /// |:---------:|:--------------------------------------------------------------------:| /// | Cloud ABI | [clock_time_get (Monotonic Clock)] | /// | SGX | [`insecure_time` usercall]. More information on [timekeeping in SGX] | -/// | UNIX | [clock_time_get (Monotonic Clock)] | +/// | UNIX | [clock_gettime (Monotonic Clock)] | /// | Darwin | [mach_absolute_time] | /// | VXWorks | [clock_gettime (Monotonic Clock)] | /// | WASI | [__wasi_clock_time_get (Monotonic Clock)] |