We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SystemTime
1 parent a00e130 commit 0189a21Copy full SHA for 0189a21
library/std/src/time.rs
@@ -176,7 +176,12 @@ pub struct Instant(time::Instant);
176
/// }
177
/// ```
178
///
179
-/// # Underlying System calls
+/// # Platform-specific behavior
180
+///
181
+/// The precision of `SystemTime` can depend on the underlying OS-specific time format.
182
+/// For example, on Windows the time is represented in 100 nanosecond intervals whereas Linux
183
+/// can represent nanosecond intervals.
184
185
/// Currently, the following system calls are being used to get the current time using `now()`:
186
187
/// | Platform | System call |
0 commit comments