Skip to content

Commit 6c94ceb

Browse files
authored
Rollup merge of #68341 - fusion-engineering-forks:instant-docs, r=Dylan-DPC
Fix syscalls tables in docs of std::time.
2 parents 2a12ef8 + 366f619 commit 6c94ceb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/time.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub use core::time::Duration;
6565
///
6666
/// | Platform | System call |
6767
/// |:---------:|:--------------------------------------------------------------------:|
68-
/// | Cloud ABI | [clock_time_get (Monotonic Clock)] |
68+
/// | CloudABI | [clock_time_get (Monotonic Clock)] |
6969
/// | SGX | [`insecure_time` usercall]. More information on [timekeeping in SGX] |
7070
/// | UNIX | [clock_gettime (Monotonic Clock)] |
7171
/// | Darwin | [mach_absolute_time] |
@@ -79,7 +79,7 @@ pub use core::time::Duration;
7979
/// [__wasi_clock_time_get (Monotonic Clock)]: https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#clock_time_get
8080
/// [clock_gettime (Monotonic Clock)]: https://linux.die.net/man/3/clock_gettime
8181
/// [mach_absolute_time]: https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/KernelProgramming/services/services.html
82-
/// [clock_time_get (Monotonic Clock)]: https://github.com/NuxiNL/cloudabi/blob/master/cloudabi.txt
82+
/// [clock_time_get (Monotonic Clock)]: https://nuxi.nl/cloudabi/#clock_time_get
8383
///
8484
/// **Disclaimer:** These system calls might change over time.
8585
///
@@ -144,15 +144,15 @@ pub struct Instant(time::Instant);
144144
///
145145
/// | Platform | System call |
146146
/// |:---------:|:--------------------------------------------------------------------:|
147-
/// | Cloud ABI | [clock_time_get (Realtime Clock)] |
147+
/// | CloudABI | [clock_time_get (Realtime Clock)] |
148148
/// | SGX | [`insecure_time` usercall]. More information on [timekeeping in SGX] |
149149
/// | UNIX | [clock_gettime (Realtime Clock)] |
150150
/// | DARWIN | [gettimeofday] |
151151
/// | VXWorks | [clock_gettime (Realtime Clock)] |
152152
/// | WASI | [__wasi_clock_time_get (Realtime Clock)] |
153153
/// | Windows | [GetSystemTimeAsFileTime] |
154154
///
155-
/// [clock_time_get (Realtime Clock)]: https://github.com/NuxiNL/cloudabi/blob/master/cloudabi.txt
155+
/// [clock_time_get (Realtime Clock)]: https://nuxi.nl/cloudabi/#clock_time_get
156156
/// [`insecure_time` usercall]: https://edp.fortanix.com/docs/api/fortanix_sgx_abi/struct.Usercalls.html#method.insecure_time
157157
/// [timekeeping in SGX]: https://edp.fortanix.com/docs/concepts/rust-std/#codestdtimecode
158158
/// [gettimeofday]: http://man7.org/linux/man-pages/man2/gettimeofday.2.html

0 commit comments

Comments
 (0)