We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7bdee8 commit 06b2804Copy full SHA for 06b2804
src/libstd/time.rs
@@ -29,12 +29,12 @@ extern mod rustrt {
29
fn rust_mktime(&&tm: tm, &sec: i64);
30
}
31
32
-/// A record specifying a time value in seconds and microseconds.
+/// A record specifying a time value in seconds and nanoseconds.
33
type timespec = {sec: i64, nsec: i32};
34
35
/**
36
* Returns the current time as a `timespec` containing the seconds and
37
- * microseconds since 1970-01-01T00:00:00Z.
+ * nanoseconds since 1970-01-01T00:00:00Z.
38
*/
39
fn get_time() -> timespec {
40
let mut sec = 0i64;
0 commit comments