浏览代码

Instant is microseconds, not milliseconds

datdenkikniet 2 年之前
父节点
当前提交
9a28858b68
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/time.rs

+ 1 - 1
src/time.rs

@@ -15,7 +15,7 @@ use core::{fmt, ops};
 /// A representation of an absolute time value.
 /// A representation of an absolute time value.
 ///
 ///
 /// The `Instant` type is a wrapper around a `i64` value that
 /// The `Instant` type is a wrapper around a `i64` value that
-/// represents a number of milliseconds, monotonically increasing
+/// represents a number of microseconds, monotonically increasing
 /// since an arbitrary moment in time, such as system startup.
 /// since an arbitrary moment in time, such as system startup.
 ///
 ///
 /// * A value of `0` is inherently arbitrary.
 /// * A value of `0` is inherently arbitrary.