@@ -101,7 +101,9 @@ pub use core::time::FromFloatSecsError;
101101/// ```
102102///
103103/// # Underlying System calls
104- /// Currently, the following system calls are being used to get the current time using `now()`:
104+ ///
105+ /// The following system calls are [currently] being used by `now()` to find out
106+ /// the current time:
105107///
106108/// | Platform | System call |
107109/// |-----------|----------------------------------------------------------------------|
@@ -113,6 +115,7 @@ pub use core::time::FromFloatSecsError;
113115/// | WASI | [__wasi_clock_time_get (Monotonic Clock)] |
114116/// | Windows | [QueryPerformanceCounter] |
115117///
118+ /// [currently]: crate::io#platform-specific-behavior
116119/// [QueryPerformanceCounter]: https://docs.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter
117120/// [`insecure_time` usercall]: https://edp.fortanix.com/docs/api/fortanix_sgx_abi/struct.Usercalls.html#method.insecure_time
118121/// [timekeeping in SGX]: https://edp.fortanix.com/docs/concepts/rust-std/#codestdtimecode
@@ -203,7 +206,8 @@ pub struct Instant(time::Instant);
203206/// For example, on Windows the time is represented in 100 nanosecond intervals whereas Linux
204207/// can represent nanosecond intervals.
205208///
206- /// Currently, the following system calls are being used to get the current time using `now()`:
209+ /// The following system calls are [currently] being used by `now()` to find out
210+ /// the current time:
207211///
208212/// | Platform | System call |
209213/// |-----------|----------------------------------------------------------------------|
@@ -215,6 +219,7 @@ pub struct Instant(time::Instant);
215219/// | WASI | [__wasi_clock_time_get (Realtime Clock)] |
216220/// | Windows | [GetSystemTimePreciseAsFileTime] / [GetSystemTimeAsFileTime] |
217221///
222+ /// [currently]: crate::io#platform-specific-behavior
218223/// [`insecure_time` usercall]: https://edp.fortanix.com/docs/api/fortanix_sgx_abi/struct.Usercalls.html#method.insecure_time
219224/// [timekeeping in SGX]: https://edp.fortanix.com/docs/concepts/rust-std/#codestdtimecode
220225/// [gettimeofday]: https://man7.org/linux/man-pages/man2/gettimeofday.2.html
0 commit comments